Mercurial > prosody-hg
comparison core/xmlhandlers.lua @ 4280:65e2c089d138
xmlhandlers: Don't restrict CDATA
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Thu, 02 Jun 2011 00:23:41 +0100 |
| parents | a37522bf6b1b |
| children | 5a0144a032d8 ee6a18f10a8d |
comparison
equal
deleted
inserted
replaced
| 4276:a37522bf6b1b | 4280:65e2c089d138 |
|---|---|
| 151 | 151 |
| 152 if lxp_supports_doctype then | 152 if lxp_supports_doctype then |
| 153 xml_handlers.StartDoctypeDecl = restricted_handler; | 153 xml_handlers.StartDoctypeDecl = restricted_handler; |
| 154 end | 154 end |
| 155 xml_handlers.Comment = restricted_handler; | 155 xml_handlers.Comment = restricted_handler; |
| 156 xml_handlers.StartCdataSection = restricted_handler; | |
| 157 xml_handlers.ProcessingInstruction = restricted_handler; | 156 xml_handlers.ProcessingInstruction = restricted_handler; |
| 158 | 157 |
| 159 return xml_handlers; | 158 return xml_handlers; |
| 160 end | 159 end |
| 161 | 160 |
