Mercurial Hosting > luan
diff core/src/luan/modules/HtmlLuan.java @ 625:a3c1e11fb6aa
rewrite much of Html to be more understandable;
add Lucene html_highlighter();
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Tue, 12 Jan 2016 23:52:56 -0700 |
parents | 60c549d43988 |
children | cdc70de628b5 |
line wrap: on
line diff
--- a/core/src/luan/modules/HtmlLuan.java Thu Jan 07 18:46:07 2016 -0700 +++ b/core/src/luan/modules/HtmlLuan.java Tue Jan 12 23:52:56 2016 -0700 @@ -47,6 +47,7 @@ public static Set<String> containerTags = new HashSet<String>(Arrays.asList(SCRIPT,STYLE)); */ +/* public static LuanTable parse(LuanState luan,String text,LuanTable containerTagsTbl) throws LuanException { @@ -270,10 +271,10 @@ return (c=='"' || c=='\'') && s.charAt(s.length()-1)==c ? s.substring(1,s.length()-1) : s; } +*/ - - +/* public static String to_string(LuanState luan,LuanTable tbl) throws LuanException { List<Object> html = tbl.asList(); StringBuilder buf = new StringBuilder(); @@ -324,7 +325,7 @@ buf.append('>'); return buf.toString(); } - +*/ public static String quote(String s) { StringBuilder buf = new StringBuilder(); buf.append('"');