Changeset 1736


Ignore:
Timestamp:
05/25/10 23:27:33 (3 years ago)
Author:
nick_ramsay
Message:

[Branch 1.3] Categories: Fix for ampersands not using html entities.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.3/content/plugins/categories/categories.php

    r1725 r1736  
    385385        } 
    386386         
    387         $category = stripslashes(html_entity_decode(urldecode($category->category_name), ENT_QUOTES,'UTF-8')); 
     387        $category = stripslashes(urldecode($category->category_name)); 
     388        $category = htmlentities($category, ENT_QUOTES,'UTF-8'); 
    388389        $output .= '<li' . $active . '><a href="' . $h->url(array('category'=>$link)) .'">' . $category . "</a>\n"; 
    389390         
Note: See TracChangeset for help on using the changeset viewer.