Mercurial > zeropaste
comparison app/views/pastes/show.html.erb @ 418:a69dd2d37950
Prevent adding unrelated classes and funny characters
author | nanaya <me@myconan.net> |
---|---|
date | Thu, 17 Sep 2015 01:13:14 +0900 |
parents | 080dd141898c |
children | bec47da9052a |
comparison
equal
deleted
inserted
replaced
417:080dd141898c | 418:a69dd2d37950 |
---|---|
24 <div role="tabpanel" class="tab-pane active" id="pl"> | 24 <div role="tabpanel" class="tab-pane active" id="pl"> |
25 <pre class="paste-show__content"><code class="js-paste-pl"><%= @paste.paste %></code></pre> | 25 <pre class="paste-show__content"><code class="js-paste-pl"><%= @paste.paste %></code></pre> |
26 </div> | 26 </div> |
27 | 27 |
28 <div role="tabpanel" class="tab-pane" id="hl"> | 28 <div role="tabpanel" class="tab-pane" id="hl"> |
29 <pre class="paste-show__content"><code class="js-paste-hl zp-hl lang-<%= @paste.language %>"></code></pre> | 29 <pre class="paste-show__content"><code class="js-paste-hl zp-hl lang-<%= @paste.language.parameterize %>"></code></pre> |
30 </div> | 30 </div> |
31 | 31 |
32 <div role="tabpanel" class="tab-pane" id="md"> | 32 <div role="tabpanel" class="tab-pane" id="md"> |
33 <div class="js-paste-md"></div> | 33 <div class="js-paste-md"></div> |
34 </div> | 34 </div> |