Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Header anchors not generated #31

Open
tjacobs2 opened this issue Jun 5, 2013 · 0 comments
Open

Header anchors not generated #31

tjacobs2 opened this issue Jun 5, 2013 · 0 comments

Comments

@tjacobs2
Copy link

tjacobs2 commented Jun 5, 2013

When generating sites using gollum-site generate, the resulting HTML doesn't contain anchors that are nested within headers. This seems to be a problem with gollum-site, not gollum-lib. The result is that my table of contents pages don't work.

Example:

Wiki markdown:

##Test Header

Gollum-site generated html

<h2>Test Header</h2>

Gollum-lib generated html (simple ruby script that just dumps Gollum::Page::formatted_data)

<h2>Test Header<a class="anchor" id="Test-Header" href="#Test-Header"></a></h2>

Due to the fact that the formatted-data is correct, my suspicion is that this is a result of the sanitization being done by gollum-site.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant