Mercurial Hosting > freedit
comparison src/bbcode/Bbcode.luan @ 45:2d4f00755092
bcode editor work
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sun, 13 Nov 2022 22:07:18 -0700 |
parents | 96f0c3d65698 |
children | 4e1a01db19ec |
comparison
equal
deleted
inserted
replaced
44:96f0c3d65698 | 45:2d4f00755092 |
---|---|
50 | 50 |
51 function html.sup(bbcode,options) | 51 function html.sup(bbcode,options) |
52 %><sup><% to_html(bbcode.contents,options) %></sup><% | 52 %><sup><% to_html(bbcode.contents,options) %></sup><% |
53 end | 53 end |
54 | 54 |
55 function html.sub(bbcode,options) | |
56 %><sub><% to_html(bbcode.contents,options) %></sub><% | |
57 end | |
58 | |
55 function html.brackets(bbcode,options) | 59 function html.brackets(bbcode,options) |
56 %>[<% to_html(bbcode.contents,options) %>]<% | 60 %>[<% to_html(bbcode.contents,options) %>]<% |
57 end | 61 end |
58 | 62 |
59 function html.url(bbcode,options) | 63 function html.url(bbcode,options) |