Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

TagHelper#escape_once does not recognize &#xHH;

#1073

old:

   def escape_once(html)
    html.to_s.gsub(/[\"><]|&(?!([a-zA-Z]+|(#\d+));)/) { |special| ERB::Util::HTML_ESCAPE[special] }
  end

new:

  def escape_once(html)
    html.to_s.gsub(/[\"><]|&(?!(?:[a-zA-Z]+|#\d+|#x[\dA-Fa-f]+);)/) { |special| ERB::Util::HTML_ESCAPE[special] }
  end

Reported by apeiros · September 18th, 2008 @ 11:42 PM

State: hold
Milestone: 2.x
Assigned to: Pratik Pratik
Importance: none

Activity

  1. apeiros
    apeiros
    • Assigned user set to Pratik

    September 18th, 2008 @ 11:43 PM

  2. Pratik
    Pratik
    • State changed from new to hold

    September 18th, 2008 @ 11:45 PM