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

Do not HTML-escape the markup for ellipses in html formatter #3217

Merged
merged 1 commit into from
Jun 12, 2016

Conversation

jonas054
Copy link
Collaborator

There was a bug in the formatter causing HTML tags to appear on the generated page when <span class="extra-code">...</span> was added for offense locations spanning multiple lines.

For example:

<span class="highlight convention">def set_book</span> &lt;span class=&quot;extra-code&quot;&gt;...&lt;/span&gt;

There was a bug in the formatter causing HTML tags to appear
on the generated page when <span class="extra-code">...</span>
was added for offense locations spanning multiple lines.
@jonas054 jonas054 force-pushed the fix_html_ellipses_bug branch from cc3240b to ca8b8d6 Compare June 12, 2016 09:43
@bbatsov bbatsov merged commit 8931476 into rubocop:master Jun 12, 2016
@bbatsov
Copy link
Collaborator

bbatsov commented Jun 12, 2016

👍

@jonas054 jonas054 deleted the fix_html_ellipses_bug branch June 12, 2016 19:03
Neodelf pushed a commit to Neodelf/rubocop that referenced this pull request Oct 15, 2016
…#3217)

There was a bug in the formatter causing HTML tags to appear
on the generated page when <span class="extra-code">...</span>
was added for offense locations spanning multiple lines.
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