jgm / pandoc

Universal markup converter
https://pandoc.org
Other
34.14k stars 3.35k forks source link

when converting from textile to other formats, percentage period percentage is not converted correctly #9878

Closed dbojan closed 3 months ago

dbojan commented 3 months ago

Explain the problem.

When converting from textile markup to other formats, 'percentage period percentage' is not converted correctly

text file named test.textile, containing text:

15%.
15%. 70%

15% %

gets converted to html:

<p>15%.<br />
15. 70</p>
<p>15% %</p>
</body>
</html>

second line is missing % signs

correct conversion would be:

<p>15%.<br />
15%. 70%</p>
<p>15% %</p>
</body>
</html>

if percentage period percentage (15%. 70%) is in the document it does not convert correctly, like it does on the https://textile-lang.com/

command line: pandoc.exe test.textile -s -o test.html

Pandoc version? windows, pandoc.exe 3.2

jgm commented 3 months ago

Thanks for the report. Fix is on the way.