分享一下我老师大神的人工智能教程!零基础,通俗易懂!http://blog.youkuaiyun.com/jiangjunshow
也欢迎大家转载本篇文章。分享知识,造福人民,实现我们中华民族伟大复兴!
public static String html(String content) {
if(content==null) return "";
String html = content;
// html = html.replace( "'", "'");
html = html.replaceAll( "&", "&");
html = html.replace( "\"", """); //"
html = html.replace( "\t", " ");// 替换跳格
html = html.replace( " ", " ");// 替换空格
html = html.replace("<", "<");
html = html.replaceAll( ">", ">");
return html;
}
if(content==null) return "";
String html = content;
// html = html.replace( "'", "'");
html = html.replaceAll( "&", "&");
html = html.replace( "\"", """); //"
html = html.replace( "\t", " ");// 替换跳格
html = html.replace( " ", " ");// 替换空格
html = html.replace("<", "<");
html = html.replaceAll( ">", ">");
return html;
}
给我老师的人工智能教程打call!http://blog.youkuaiyun.com/jiangjunshow
