Author Topic: special chars  (Read 811 times)

0 Members and 1 Guest are viewing this topic.

nomic

  • Guest
special chars
on: Wed, 26. March 2003 - 15:59:12
I've got a problem with vlibTemplate. I save special chars like " or ' in the database with the help of htmlentities().

So a " becomes "

But vlibTemplate (I think) makes form the " a "
I'm using the setloop() method of vlibTemplate.

How can i avoid this?

nomic

  • Guest
special chars
Reply #1 on: Wed, 26. March 2003 - 16:49:43
OK, I've got it. You must add " escape='none'" to the variable in your template.

releasedj

  • Guest
special chars
Reply #2 on: Thu, 27. March 2003 - 09:48:10
You got it.