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('</tr>')
   end
   local class = "even"
   for _, row in pairs(rows) do
     class = (class == "even" and "odd") or "even"
     add('<tr class="' .. class .. '">')
     for i,c in pairs(row) do
       add('<td align="' .. html_align(aligns[i]) .. '">' .. c .. '</td>')
     end
     add('</tr>')
   end
   add('</table')
   return table.concat(buffer,'\n')
 end
 
-function RawInline(s)
-  return "<code>" .. escape(s) .. "</code>"
+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 "<div" .. attributes(attr) .. ">\n" .. s .. "</div>"
 end
 
 -- The following code will produce runtime warnings when you haven't defined