Headings don't render well with certain characters in them

Chris Wolverton's Avatar

Chris Wolverton

11 Jun, 2012 03:15 PM

I'm having a problem when including a colon or dash in a heading. Basically, when one of these characters is in the heading span and I change the heading level, the rendering breaks like this:

3 id="scienceshot:thesecrethistoryofthedomesticatedapple">ScienceShot: The Secret History of the Domesticated Apple

It renders as expected when I first open the file in Marked, but the problem happens when I change the heading level and save. It recovers if I remove the colon and re-save. It seems that the colon can be anywhere in the span and causes it to break if I change heading level.

  1. Support Staff 1 Posted by Brett on 11 Jun, 2012 03:30 PM

    Brett's Avatar

    I'll do some testing and get back to this (traveling this week). If you edit the headline, save and then edit elsewhere in the document and save, does the problem persist?

    -Brett (on iPhone)

  2. 2 Posted by Chris Wolverton on 11 Jun, 2012 06:55 PM

    Chris Wolverton's Avatar

    If I edit somewhere else in the document and save, the problem resolves, the heading is rendered fine then.

  3. 3 Posted by Chris Wolverton on 11 Jun, 2012 06:58 PM

    Chris Wolverton's Avatar

    When I do the test you suggested, the problem with rendering is resolved.

  4. Support Staff 4 Posted by Brett on 11 Jun, 2012 08:06 PM

    Brett's Avatar

    Ok, I know what that is. Will fix soon.

    -Brett (on iPhone)

  5. Brett closed this discussion on 27 Aug, 2012 07:41 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac