Mercurial > prosody-hg
comparison core/xmlhandlers.lua @ 4281:5a0144a032d8
Merge 0.6->0.7
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Thu, 02 Jun 2011 00:25:44 +0100 |
| parents | 683523db4fe8 65e2c089d138 |
| children | 8fde6b6b4919 |
comparison
equal
deleted
inserted
replaced
| 4277:683523db4fe8 | 4281:5a0144a032d8 |
|---|---|
| 156 | 156 |
| 157 if lxp_supports_doctype then | 157 if lxp_supports_doctype then |
| 158 xml_handlers.StartDoctypeDecl = restricted_handler; | 158 xml_handlers.StartDoctypeDecl = restricted_handler; |
| 159 end | 159 end |
| 160 xml_handlers.Comment = restricted_handler; | 160 xml_handlers.Comment = restricted_handler; |
| 161 xml_handlers.StartCdataSection = restricted_handler; | |
| 162 xml_handlers.ProcessingInstruction = restricted_handler; | 161 xml_handlers.ProcessingInstruction = restricted_handler; |
| 163 | 162 |
| 164 return xml_handlers; | 163 return xml_handlers; |
| 165 end | 164 end |
| 166 | 165 |
