string Juick::encloseHTML(string ostr) {
string::iterator s=ostr.begin(),smax=ostr.end();
string str;
str.reserve(smax-s);
while(s!=smax) {
switch(*s) {
case '&': str+="&"; break;
case '<': str+="<"; break;
case '>': str+=">"; break;
default: str+=*s;
}
s++;
}
return str;
}