|
From: Valentino V. a. D. <dia...@di...> - 2006-07-15 17:18:56
|
Hi all. I'm using Markdown 1.5 in a project of mine but I'm faced with a weird bug that I cannot understand. Sometimes (here for example: http://testing.stiq.it/story/6e70c0d9839c98b9f6986e28af5e244b/#c3) I have the HTML_PLACEHOLDER in the output. I suppose it should have been filled with the <br /> but there isn't. gen_unroll is the result of a query to my database >>> t = gen_unroll[1]['body'] >>> t.content <stiq.markdown.Markdown instance at 0x8a3becc> >>> str(t.content) '\n<p>-- "Alla lunga diventeremo tutti <em>coder</em> Smalltalk." qaodmasdkwaspemas0ajkqlsmdqpakldnzsdfls\n -- "Forse, ma alla lunga saremo tutti morti."\n</p>\n\n' >>> t.content.source '-- "Alla lunga diventeremo tutti _coder_ Smalltalk." \r\n-- "Forse, ma alla lunga saremo tutti morti."\r\n' >>> t.content.htmlStash.rawHtmlBlocks [] As you can see the HTML_PLACEHOLDER is still there and rawHtmlBlocks is empty. When I try to rerun the thing inserting the very same string I get the same output... This is why I call this weirdness... Thanks for your help. |