Author Topic: HTML in category name not working for top.php  (Read 3574 times)

0 Members and 1 Guest are viewing this topic.

Offline sprokop

  • Newbie
  • *
  • Posts: 25
    • View Profile
HTML in category name not working for top.php
« on: November 06, 2002, 05:13:17 AM »
I have some html tags in the category name which is rendered fine everywhere except in the top.php page! I beleive the string is not passed through a function before it gets printed and therefore the html gets printed as is!

Does anyone have a fix for that one?

Thanks
Sam
--
   __O
 _-\<,_     Why drive when you can bike?
(_)/ (_)

Offline sprokop

  • Newbie
  • *
  • Posts: 25
    • View Profile
HTML in category name not working for top.php
« Reply #1 on: November 06, 2002, 05:24:55 AM »
never mind I found it!

In top.php everywhere it says *.htmlspecialchars* it should really be *.un_htmlspecialchars* as that function decodes the html character string that had been previously encoded for database purposes.

Thanks anyway,

Sam
--
   __O
 _-\<,_     Why drive when you can bike?
(_)/ (_)