Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.


Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Stupid question: $Variable.XML


3 Posts   1379 Views


27 October 2007 at 5:59am Community Member, 501 Posts

A few times I see template variables (like in the pagecomments) as

Now, I'm guessing this will output a xml clean string or something, could someone point me to the url in the docu where I can read upon this?

I can't seem to find it.


27 October 2007 at 8:07pm Forum Moderator, 5511 Posts

well I think it should be on this page - but its probably out of date as its not. But I think from your guess its pretty spot on.


27 October 2007 at 8:19pm Community Member, 501 Posts


now another question in the same line:

I'm subclassing the comment stuff but I want to allow users to use some html-tags such as <a>, <img>, ...

Is there some SS-built in method I could use, some 'bulletproof' strip_tags() thing, that gets rid of everything except the allowed tags, or should I just use strip_tags?