Roxen.git/
server/
etc/
modules/
Roxen.pmod
Branch:
Tag:
Non-build tags
All tags
No tags
2012-11-16
2012-11-16 10:25:31 by 0
fbcff6204263b1095856b73be3174c236557ecef (
7
lines) (+
6
/-
1
)
[
Show
|
Annotate
]
Branch:
5.2
Added "-html" decoding.
Rev: server/etc/modules/Roxen.pmod:1.337
1:
// This is a roxen pike module. Copyright © 1999 - 2009, Roxen IS. //
-
// $Id: Roxen.pmod,v 1.
336
2012/11/
14
15
:
03
:
23
stewa
Exp $
+
// $Id: Roxen.pmod,v 1.
337
2012/11/
16
10
:
25
:
31
jonasw
Exp $
#include <roxen.h> #include <config.h>
2863:
case "html": return html_encode_string (val);
+
case "-html":
+
// Can't use html_decode_string() which doesn't understand numerical
+
// entities.
+
return RXML.TXml()->decode_charrefs(val);
case "invalids": case "xmlinvalids":