Skip to content
Snippets Groups Projects
Commit 51257280 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

html_escape is private for rails 4.0.2 :(

parent 2c797eb9
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -24,7 +24,7 @@ class Redcarpet::Render::GitlabHTML < Redcarpet::Render::HTML
 
<div class="highlighted-data #{h.user_color_scheme_class}">
<div class="highlight">
<pre><code class="#{language}">#{h.html_escape(code)}</code></pre>
<pre><code class="#{language}">#{h.send(:html_escape, code)}</code></pre>
</div>
</div>
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment