|
From: Waylan L. <wa...@gm...> - 2008-08-28 04:00:41
|
On Wed, Aug 27, 2008 at 6:16 PM, Waylan Limberg <wa...@gm...> wrote:
>
> >>> markdown.markdown('foo *bar __blah__* baz')
> u'<p>foo <em>bar <strong>blah</strong>\n </em> baz</p>'
>
> What's up with the newline and space between the closing tags
> ``</strong>`` & ``</em>``? Is that from the (IMO unnecessary)
> ``IndentTree`` function or something in
> ``Markdown._processPlaceholders``? I'm not sure.
>
Ok, I just realized that that is the output we were getting before my
change to the inline placeholder. Weird! IMO that is not correct. We
need to loose that extra whitespace. I realize it's irrelevant in the
browser, but no other markdown implementation does that. Either the
indentTree function needs to only work on block level elements or it
needs to go away.
--
----
Waylan Limberg
wa...@gm...
|