# HG changeset patch # User Kim Alvefur # Date 1402511921 -7200 # Node ID df8da7e4c2bfd6665ec6b5ac20a7db8fc6db1a4f # Parent ee2302b78c745b5572e73daaaa74fd76b1969d56 mod_latex: Log debug message when actually deciding to do LaTeX replacing diff -r ee2302b78c74 -r df8da7e4c2bf mod_latex/mod_latex.lua --- a/mod_latex/mod_latex.lua Wed Jun 11 20:38:07 2014 +0200 +++ b/mod_latex/mod_latex.lua Wed Jun 11 20:38:41 2014 +0200 @@ -5,12 +5,12 @@ local xmlns_xhtml = "http://www.w3.org/1999/xhtml"; local function replace_latex(data) - module:log("debug", "Replacing latex..."); local origin, stanza = data.origin, data.stanza; local body = stanza:get_child_text("body"); if not body or not body:match("%$%$") then return; end + module:log("debug", "Replacing latex..."); local html = st.stanza("html", { xmlns = xmlns_xhtmlim }) :tag("body", { xmlns = xmlns_xhtml });