Closed RomainTT closed 7 years ago
Thanks for reporting this. I will take a look into it.
Ok I found the reason: I had <>
characters in my markdown raw text. These characters are not escaped and are interpreted by the XML parser (but it crashes because these are not real tags).
I think a solution would be to replace <
and >
in the markdown_filter
function, with <
and >
Same for ampersand, quotes and double quotes (&
,'
and"
)
Hi !
While I was modifying a piece of code to manage markdown tables (and so was messing with the xml document), I found a bug:
Indeed, the
try
block catches exception from a big piece of code and the exception is probably raised before the assignment ofresult
.I suggest to check the existence of
result
before using it in theexcept ExpatError
block.