Skip to content

Commit

Permalink
make content of success examples NOT triple-stached, unescaped expres…
Browse files Browse the repository at this point in the history
…sion, and instead normally HTML-escaped value
  • Loading branch information
noahadams committed Jan 25, 2017
1 parent af4cf3d commit 6e1d51f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion template/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ <h2>{{__ @key}}</h2>
<div class="tab-content">
{{#each params.examples}}
<div class="tab-pane{{#if_eq @index compare=0}} active{{/if_eq}}" id="{{../section}}-examples-{{../id}}-{{@index}}">
<pre class="prettyprint language-{{type}}" data-type="{{type}}"><code>{{{reformat content type}}}</code></pre>
<pre class="prettyprint language-{{type}}" data-type="{{type}}"><code>{{reformat content type}}</code></pre>
</div>
{{/each}}
</div>
Expand Down

0 comments on commit 6e1d51f

Please sign in to comment.