Skip to content
This repository has been archived by the owner on Oct 26, 2022. It is now read-only.

Commit

Permalink
Enable autoscaping for macro content
Browse files Browse the repository at this point in the history
  • Loading branch information
Siavash Safi committed Aug 24, 2017
1 parent 4fdc5b2 commit 6052ae2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/resources/soy/prism.soy
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
* @param? language
*/
{template .html}
<pre><code{if $language} class="language-{$language}{/if}">{$content|noAutoescape}</code></pre>
<pre><code{if $language} class="language-{$language}{/if}">{$content}</code></pre>
{/template}

0 comments on commit 6052ae2

Please sign in to comment.