Mercurial Hosting > luan
diff src/luan/modules/HtmlLuan.java @ 1714:31a82b0d0a87
bbcode and html work
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 18 Jul 2022 23:49:47 -0600 |
parents | 36c28be6d432 |
children |
line wrap: on
line diff
--- a/src/luan/modules/HtmlLuan.java Fri Jul 15 11:55:27 2022 -0600 +++ b/src/luan/modules/HtmlLuan.java Mon Jul 18 23:49:47 2022 -0600 @@ -27,6 +27,8 @@ tbl.rawPut("attributes",new LuanTable(tag.attributes)); tbl.rawPut("is_empty",tag.isEmpty); tbl.rawPut("raw",tag.raw); + if( tag.style != null ) + tbl.rawPut("style",new LuanTable(tag.style)); return tbl; } public static LuanTable parse(String text,LuanTable containerTagsTbl) {