pml-lang / pml-companion

Java source code of the 'PML Companion (PMLC)'
https://www.pml-lang.dev
GNU General Public License v2.0
22 stars 1 forks source link

Edge Case BUG: Paragraph Emitted Twice #44

Closed tajmone closed 3 years ago

tajmone commented 3 years ago

I've come across a very odd bug with PML 1.5.0...

The following source:

[doc title = PML BUGS Test \
    authors = Tristano Ajmone \
    date = 2021-06-26

[ch title = "Miscellanea" \
    id = chapter_id
    Hello

]

]

will produce an HTML doc where the Hello paragraph is shown twice in a row — but only if:

pml-lang commented 3 years ago

I was able to reproduce the bug. Very strange, indeed. I tried the same example in the new version 2.0 I'm working on (using the new pXML parser), and it is rendered correctly, with just one "Hello" line. After publishing PML 2.0 I will try again and close the bug.

tajmone commented 3 years ago

Very strange, indeed.

Some bugs are just mysterious, which also makes them fascinating and challenging at the same time.

I tried the same example in the new version 2.0 I'm working on (using the new pXML parser), and it is rendered correctly

Well, then it's not worth investigating it any further, since it will self resolve.

pml-lang commented 3 years ago

This bug has been fixed in version 2.0.0