More special chars encoding fixes.

git-svn-id: https://develop.svn.wordpress.org/trunk@1448 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
jverber
2004-06-30 02:02:49 +00:00
parent 2b356341ec
commit 18fef1c41e
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -90,7 +90,7 @@ function write_nested_categories($categories) {
foreach($categories as $category) {
echo '<label for="category-', $category['cat_ID'], '" class="selectit"><input value="', $category['cat_ID'],
'" type="checkbox" name="post_category[]" id="category-', $category['cat_ID'], '"',
($category['checked'] ? ' checked="checked"' : ""), '/> ', $category['cat_name'], "</label>\n";
($category['checked'] ? ' checked="checked"' : ""), '/> ', htmlspecialchars($category['cat_name']), "</label>\n";
if(isset($category['children'])) {
echo "\n<span class='cat-nest'>\n";