Skip to content

Commit

Permalink
Merge pull request apidoc#589 from noahadams/html-escape-sucess-examples
Browse files Browse the repository at this point in the history
escape content of success examples
  • Loading branch information
rottmann authored Mar 2, 2017
2 parents 48b388c + 6e1d51f commit 2df7cb4
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 2df7cb4

Please sign in to comment.