コード例 #1
0
ファイル: Misc.java プロジェクト: BackupTheBerlios/freejsm
 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;
 }