Skip to content

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