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
In an HTML report, every code from the checked scripts must be HTML-escaped.
In case of Style/RedundantRegexpArgument, not HTML-escaped.
# sample.rb str.scan(/&</) str.scan(/<b>/)
% rubocop sample.rb -f html > result.html
Then see result.html.
The result:
1.57.2 (using Parser 3.2.2.4, rubocop-ast 1.30.0, running on ruby 3.2.2) [arm64-darwin20]
The text was updated successfully, but these errors were encountered:
HTMLFormatter
[Fix rubocop#12363] Fix incorrect rendering in HTMLFormatter formatter
e389a33
Fixes rubocop#12363. This PR fixes incorrect rendering of HTML character entities in `HTMLFormatter` formatter.
Merge pull request #12364 from koic/fix_incorrect_rendering_in_format…
c0f5b35
…ter_html_formatter [Fix #12363] Fix incorrect rendering in `HTMLFormatter` formatter
Successfully merging a pull request may close this issue.
Expected behavior
In an HTML report, every code from the checked scripts must be HTML-escaped.
Actual behavior
In case of Style/RedundantRegexpArgument, not HTML-escaped.
Steps to reproduce the problem
Then see result.html.
The result:
RuboCop version
The text was updated successfully, but these errors were encountered: