Mario Minati wrote:
Hello @all,

as you could help me that fast and excellent yesterday I have an other question to you ;)

What is the best/common practice to get text that might containt html escapable characters (e. g. '&', '<') from a form field to catalyst to db and back to form field?

At the moment I'm thinking of not doing any html escaping at all and believe in unicode to handle the encoding correctly, but I would ran into problems with '<funname>'. So if I escape a string and send it back to the form the content of the textfield is '&lt;funame&gt;'. Why is that?

Again every thought is allmost welcome.

Greets,
Mario Minati

I'll asume you are using TT since you didn't say otherwise'

[% '<funname>' | html %]

_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to