msmid / markdown2docbook

Conversion tool for transforming markdown text files to DocBook/HTML documents. Project is based on XSLT 2.0 technology.
MIT License
21 stars 6 forks source link

First step - parse list's nested paragraphs #22

Closed msmid closed 9 years ago

msmid commented 10 years ago

This input

* list 1
* list 2
* list 3

may produce

<ul>
<li>list 1</li>
<li>list 2</li>
<li>list 3</li>
</ul>

but now, every unmarked text content is wrapped in <p>

msmid commented 10 years ago

This problem is related with the fact, that parsing functions handle linefeed differently. Some of them strip, some preserve.