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

Parse paragraphs - last line matching #21

Closed msmid closed 10 years ago

msmid commented 10 years ago

This source

text
some more text
last line

produce

<p>text
some more text</p>
<p>last line</p>
msmid commented 10 years ago

Solved. Analyze-string is redundant, transformation only needs to trim leading and trailing whitespace.