Ensure XHTML validity when presenting mod_rewrite rules for copy-paste. Props JeremyVisser. fixes #3523

git-svn-id: http://svn.automattic.com/wordpress/trunk@4681 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
markjaquith 2007-01-05 09:27:22 +00:00
parent 37b522d016
commit e69c2bc3ae
1 changed files with 1 additions and 1 deletions

View File

@ -169,7 +169,7 @@ checked="checked"
<form action="options-permalink.php" method="post"> <form action="options-permalink.php" method="post">
<?php wp_nonce_field('update-permalink') ?> <?php wp_nonce_field('update-permalink') ?>
<p> <p>
<textarea rows="5" style="width: 98%;" name="rules"><?php echo $wp_rewrite->mod_rewrite_rules(); ?> <textarea rows="5" style="width: 98%;" name="rules"><?php echo wp_specialchars($wp_rewrite->mod_rewrite_rules()); ?>
</textarea> </textarea>
</p> </p>
</form> </form>