PDA

View Full Version : how to show ' in category without it displaying like '


discover
06-06-2006, 08:40 PM
when i need to put a ' in a category title i get this & #039
any way to get it to show the apostrophe?

Boby
06-06-2006, 09:12 PM
& #039; is the HTML code for ' (apostrophe)

You can remove the |escape tag applied to the variable in the template to disable HTML code. This will result in an invalid HTML code, if you care for valid pages this will destroy validation.

For example:
You have {$title|escape|trim} now change to {$title|trim}

Some characters need this special codes in (X)HTML to let your browser make difference between tags and attributes and regular text (your case).

Boby