1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-10-21 14:53:44 +03:00

html: Don't escape RAWTEXT and PLAINTEXT

Align with HTML5.
This commit is contained in:
Nick Wellnhofer
2025-04-12 23:10:40 +02:00
parent 809ded586b
commit 05b8fe0a06
3 changed files with 19 additions and 14 deletions

View File

@@ -499,13 +499,6 @@ htmlSkipBlankChars(xmlParserCtxtPtr ctxt) {
* Name,Start Tag,End Tag,Save End,Empty,Deprecated,DTD,inline,Description
*/
#define DATA_RCDATA 1
#define DATA_RAWTEXT 2
#define DATA_PLAINTEXT 3
#define DATA_SCRIPT 4
#define DATA_SCRIPT_ESC1 5
#define DATA_SCRIPT_ESC2 6
static const htmlElemDesc
html40ElementTable[] = {
{ "a", 0, 0, 0, 0, 0, 0, 1, "anchor ",