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

Indexer does not ignore content inside of tags in Textile documents #16

Open
toasterlovin opened this issue Oct 28, 2012 · 0 comments
Open

Comments

@toasterlovin
Copy link

The guide indexer (the thing that appends numbers before h3's and h4s) will choke if you have something like the following in a Textile document (taken from the Sproutcore Guides):

<plain>
h3. Topics Should Use h3
</plain>

The easy way to avoid breaking the indexer in this way is to add one or more spaces before the line with the h3 or h4. This works because the indexer is using a regular expression which looks for patterns that start at the beginning of the line.

The "right way" to fix this is to modify the guides gem so that the indexer only indexes content outside tags, but I'm not invested enough to fix this myself.

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