Closed elmimmo closed 12 years ago
Looking more into it, MMD does not seem to process any Markdown whatsoever inside an address
element.
For example, having the following as a source:
<address>
<user@host.com>
This is **my** address
</address>
Markdown converts it to
<p><address>
<a href="mailto:user@host.com">user@host.com</a> <br />
This is <strong>my</strong> address
</address></p>
whereas MMD outputs the source untouched.
Renamed the issue to better describe the issue from
Line breaks (2-space at end of line) inside
do not convert to
to
Markdown syntax is ignored inside
Ouch… I see this is in the documentation How do I create a MultiMarkdown document?, section “Raw HTML”.
In Gruber's Markdown, several lines wrapped in an
address
HTML element, each line having 2 spaces at the end, like this (select each line separately to see that there are trailing spaces):will convert to
br
line breaks at the end of each line (while keeping it all inside theaddress
tag), like this:MMD will not add the
br
line breaks. As a result, MMD's output HTML will render as a single line.Is this inconsistency with Markdown wanted or is it a bug?