ba1c079db556eae13221bc6547b7be6abbbc8906 max Tue Jan 21 05:04:54 2025 -0800 fixing inline html in markdown, refs #30335 diff --git docs/staticPage.lua docs/staticPage.lua index 11003e4..d70dbb8 100644 --- docs/staticPage.lua +++ docs/staticPage.lua @@ -409,32 +409,37 @@ add('') end local class = "even" for _, row in pairs(rows) do class = (class == "even" and "odd") or "even" add('') for i,c in pairs(row) do add('' .. c .. '') end add('') end add('" .. escape(s) .. "" +function RawInline(format, str) + if format == "html" then + return str + else + --- not sure what to do here for PDF or ebook output... --- + return str + end end function RawBlock(format, str) if format == "html" then return str else return '' end end function Div(s, attr) return "\n" .. s .. "" end -- The following code will produce runtime warnings when you haven't defined