Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Added htmlspecialchars() to html section in loop-single
  • Loading branch information
Rheal Poirier committed Feb 27, 2012
1 parent ee19cd6 commit c894a97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion loop-single.php
Expand Up @@ -35,7 +35,7 @@
<div id="markup" class="mod">
<h3 class="label">HTML</h3> <a href="#" class="clip" title="select code for copying"><img src="/wp-content/themes/pears/images/icon-copy.png" alt="copy" /></a>
<textarea class="mod-ta">
<?php $key="html"; echo get_post_meta($post->ID, $key, true); ?>
<?php $key="html"; echo htmlspecialchars(get_post_meta($post->ID, $key, true)); ?>
</textarea>
</div>

Expand Down

0 comments on commit c894a97

Please sign in to comment.