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 - paragraph with a mark denoting list #25

Closed msmid closed 9 years ago

msmid commented 10 years ago

This source

I recommend upgrading to version
8. Oops, now this line is treated
as a sub-list.

may turn into single paragraph, but now it is parsed like this

<p>I recommend upgrading to version</p>
<ol>
    <li>
       <p> 8. Oops, now this line is treated</p>
    </li>
    <p>as a sub-list.</p>
</ol>
msmid commented 9 years ago

This is trully annoying problem. One solution is to escape that . mark. For example 8\. Oops ...

msmid commented 9 years ago

Well, you need to be careful and escape that.