We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I think this gem might need a few updates for Rails 5. The output is escaped, so it might need to be marked as html_safe.
Also, I'm including the styles in my CSS, but it still seems to output some inline CSS in my HTML and I don't know how to disable that.
The text was updated successfully, but these errors were encountered:
it's not formatting anything for me in Rails 5 either
Sorry, something went wrong.
https://github.com/jacobsimeon/rouge-rails/blob/master/lib/rouge/rails/template_handler.rb#L17 makes the output html_safe isn't it, @ndbroadbent?
html_safe
BTW, sanitize is to be preferred over html_safe in Rails 5. Perhaps that one should be used.
sanitize
No branches or pull requests
I think this gem might need a few updates for Rails 5. The output is escaped, so it might need to be marked as html_safe.
Also, I'm including the styles in my CSS, but it still seems to output some inline CSS in my HTML and I don't know how to disable that.
The text was updated successfully, but these errors were encountered: