Skip to content

Commit

Permalink
Merge pull request #148 from cam-woloshyn/escapeHTML
Browse files Browse the repository at this point in the history
Ensure response_body is escaped in html_example template
  • Loading branch information
oestrich committed Aug 5, 2014
2 parents e01d812 + e0a4a2b commit 13cdb46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/rspec_api_documentation/html_example.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@
<pre class="response status">{{ response_status }} {{ response_status_text}}</pre>
{{# response_body }}
<h4>Body</h4>
<pre class="response body">{{{ response_body }}}</pre>
<pre class="response body">{{ response_body }}</pre>
{{/ response_body }}
{{/ response_status }}
{{/ requests }}
Expand Down

0 comments on commit 13cdb46

Please sign in to comment.