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

Add support for the preprocess_html flag. #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lowjoel
Copy link
Contributor

@lowjoel lowjoel commented May 30, 2016

This adds support for replacing consecutive spaces/nbsp to be converted to plain spaces for use with the Rouge lexer.

Fixes #8.


doc = filter.call
assert_equal "<pre class=\"highlight highlight-ruby\"><code> "\
"<span class=\"n\">hello</span>\n<span class=\"n\">world</span></code></pre>\n", doc.to_html
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line is too long. [109/80]

This adds support for replacing consecutive spaces/nbsp to be converted to plain spaces for use with the Rouge lexer.
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

Successfully merging this pull request may close these issues.

2 participants