Ticket #188 (new defect)

Opened 3 years ago

Weird markdown bug: adding markup messes up rendering

Reported by: anonymous Assigned to: developer
Priority: normal Milestone:
Component: Instiki Version: 0.9.2
Severity: normal Keywords:
Cc:

Description

Hi there,

I've written a installation report for TWiki (sorry, my boss required me to) in my own Instiki Wiki and noticed a very weird bug in the Markdown rendering.

I've saved two test cases:

- http://www.informatik.hu-berlin.de/~rosenfel/markdown.ok

- http://www.informatik.hu-berlin.de/~rosenfel/markdown.error

- here's the diff: http://www.informatik.hu-berlin.de/~rosenfel/markdown.diff

- error contains a couple of more list items at the end, the rest is unchanged

Whereas markdown.ok produces a correct layout, markdown.error produces garbled results. My texts seems to be intermixed with code. I've attached a screenshot below.

What's funny is that if you take only the code in the diff, everything renders okay. So the markup itself is correct, I guess.

I use 0.9.2, because I'm on OS X. My ruby version is "ruby 1.8.2 (2004-12-25) [powerpc-darwin8.0]"

Thanks, he-sk

http://www.informatik.hu-berlin.de/~rosenfel/markdown.error.jpg