1CGI.htmlEscape(3kaya) Kaya module reference CGI.htmlEscape(3kaya)
2
3
4
6 CGI::htmlEscape - Encodes HTML special chars.
7
9 String htmlEscape( String x )
10
12 x The un-encoded string
13
15 Converts '&', '<' and '>' to '&', '<' and '>'. It does not
16 convert '"' to '"', which you will need to do manually for func‐
17 tion attribute values.
18
20 Kaya standard library by Edwin Brady, Chris Morris and others
21 (kaya@kayalang.org). For further information see http://kayalang.org/
22
24 The Kaya standard library is free software; you can redistribute it
25 and/or modify it under the terms of the GNU Lesser General Public
26 License (version 2.1 or any later version) as published by the Free
27 Software Foundation.
28
29
30
31Kaya December 2010 CGI.htmlEscape(3kaya)