2buntu / 2buntu-blog

Source code for the 2buntu blog.
http://2buntu.com
Apache License 2.0
15 stars 11 forks source link

"## Title" being rendered with <h4> instead of <h2> #67

Closed nathan-osman closed 10 years ago

nathan-osman commented 10 years ago

When writing articles, the following markdown:

## Title

...is rendered as:

<h4>Title</h4>

...instead of:

<h2>Title</h2>
nathan-osman commented 10 years ago

Reminder: when this bug is fixed, I need to clear the cache since all entries will have the incorrect markdown.

nathan-osman commented 10 years ago

I've identified what is causing the problem: the headerid Markdown extension. Commenting out twobuntu/cmarkdown.py:97 makes the problem go away. I'm investigating whether it is possible to keep the plugin enabled while still ensuring the correct tags are rendered.

nathan-osman commented 10 years ago

...and the cache has been completely purged.

nitstorm commented 10 years ago

:+1: