diff 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
line wrap: on
line diff
--- a/src/bbcode/Bbcode.luan	Thu Nov 10 23:18:58 2022 -0700
+++ b/src/bbcode/Bbcode.luan	Sun Nov 13 22:07:18 2022 -0700
@@ -52,6 +52,10 @@
 	%><sup><% to_html(bbcode.contents,options) %></sup><%
 end
 
+function html.sub(bbcode,options)
+	%><sub><% to_html(bbcode.contents,options) %></sub><%
+end
+
 function html.brackets(bbcode,options)
 	%>[<% to_html(bbcode.contents,options) %>]<%
 end