diff options
-rwxr-xr-x | zzcxz.cgi | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -199,6 +199,9 @@ local function convert_markup(m) table.insert(result, '<pre><code>') code_block = true else + line = line:gsub("\\\\([%[%]])", "\%1") + line = line:gsub("\\([%[%]])", + { ['['] = "[", [']'] = "]" }) line = line:gsub("%[(.-)%]", function(s) return ('<span class="important">%s</span>'):format(s) |