Mark terms as raw to avoid escaping HTML in them

This commit is contained in:
Tom Hughes 2011-10-20 00:10:08 +01:00
parent 2cac555019
commit 281a3239e6

View file

@ -1,45 +1,45 @@
<p id="first">
<%= @text['intro'] %>
<%= @text['next_with_decline'] %>
<%= raw @text['intro'] %>
<%= raw @text['next_with_decline'] %>
</p>
<h3><%= @text['introduction'] %></h3>
<h3><%= raw @text['introduction'] %></h3>
<ol>
<li>
<p><%= @text['section_1'] %></p>
<% unless @text['section_1a'].nil? %>
<p><%= raw @text['section_1'] %></p>
<% unless raw @text['section_1a'].nil? %>
<ol style="list-style-type: lower-alpha">
<li><%= @text['section_1a'] %></li>
<li><%= @text['section_1b'] %></li>
<li><%= raw @text['section_1a'] %></li>
<li><%= raw @text['section_1b'] %></li>
</ol>
<% end %>
</li>
</ol>
<h3><%= @text['rights_granted'] %></h3>
<h3><%= raw @text['rights_granted'] %></h3>
<ol start="2">
<li>
<p><%= @text['section_2'] %></p>
<p><%= raw @text['section_2'] %></p>
</li>
<li>
<p><%= @text['section_3'] %></p>
<p><%= @text['active_defn_1'] %></p>
<p><%= @text['active_defn_2'] %></p>
<p><%= raw @text['section_3'] %></p>
<p><%= raw @text['active_defn_1'] %></p>
<p><%= raw @text['active_defn_2'] %></p>
</ul>
</li>
<li>
<p><%= @text['section_4'] %></p>
<p><%= raw @text['section_4'] %></p>
</li>
<li>
<p><%= @text['section_5'] %></p>
<p><%= raw @text['section_5'] %></p>
</li>
</ol>
<h3><%= @text['limitation_of_liability'] %></h3>
<h3><%= raw @text['limitation_of_liability'] %></h3>
<ol start="6">
<li><p><%= @text['section_6'] %></p></li>
<li><p><%= @text['section_7'] %></p></li>
<li><p><%= raw @text['section_6'] %></p></li>
<li><p><%= raw @text['section_7'] %></p></li>
</ol>
<h3><%= @text['miscellaneous'] %></h3>
<h3><%= raw @text['miscellaneous'] %></h3>
<ol start="8">
<li>
<p id="last"><%= @text['section_8'] %></p>
<p id="last"><%= raw @text['section_8'] %></p>
</li>
</ol>