예제 #1
0
 public static String toHTML(String s) {
   s = Misc.string_replace(">", ">", s);
   s = Misc.string_replace("&lt;", "<", s);
   s = Misc.string_replace("&nbsp;", " ", s);
   s = Misc.string_replace("&nbsp;&nbsp;&nbsp;&nbsp;", "\t", s);
   s = Misc.string_replace("<br>", "\n", s);
   return s;
 }