Ticket #67 (closed defect: worksforme)

Opened 2 years ago

Last modified 17 months ago

Headings With Trailing Spaces Ignored

Reported by: tomjones Owned by: deveiant
Milestone: Bugfixes Component: MarkdownSyntax
Version: 2.0.7 Severity: normal
Keywords: heading whitespace syntax discount bug Cc:

Description

Sensitivity to whitespace on end of lines

BlueCloth will not create headings if there is trailing white space on the end of lines.

In fact, as a result, it does not correctly render the example found here:

 http://deveiate.org/projects/BlueCloth/wiki/AboutMarkdown

Both headings are not rendered, while the second heading becomes an tag.

This same defect is present in RDiscount. When display is substituted with Maruku, headings are correctly rendered.

Change History

comment:1 Changed 17 months ago by deveiant

  • Status changed from new to closed
  • Resolution set to worksforme

It works for me when running the spec I added in r135. If you can edit that spec to demonstrate the problem, please do so and reopen this ticket with a patch. Thanks!

Note: See TracTickets for help on using tickets.