mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
Also set the node subtype for <?xml-stylesheet?>
This commit is contained in:
parent
bccf5512d6
commit
74728cab05
@ -151,9 +151,8 @@ enum dom_proc_instruction_type {
|
||||
DOM_PROC_INSTRUCTION,
|
||||
|
||||
/* Keep this group sorted */
|
||||
DOM_PROC_INSTRUCTION_DBHTML, /* DocBook toolchain instruction */
|
||||
DOM_PROC_INSTRUCTION_ELINKS, /* Internal instruction hook */
|
||||
DOM_PROC_INSTRUCTION_XML, /* XML instructions */
|
||||
DOM_PROC_INSTRUCTION_XML, /* XML header */
|
||||
DOM_PROC_INSTRUCTION_XML_STYLESHEET, /* XML stylesheet link */
|
||||
|
||||
DOM_PROC_INSTRUCTION_TYPES
|
||||
};
|
||||
|
@ -117,6 +117,10 @@ add_sgml_proc_instruction(struct dom_stack *stack, struct dom_scanner_token *tar
|
||||
node->data.proc_instruction.type = DOM_PROC_INSTRUCTION_XML;
|
||||
break;
|
||||
|
||||
case SGML_TOKEN_PROCESS_XML_STYLESHEET:
|
||||
node->data.proc_instruction.type = DOM_PROC_INSTRUCTION_XML_STYLESHEET;
|
||||
break;
|
||||
|
||||
case SGML_TOKEN_PROCESS:
|
||||
default:
|
||||
node->data.proc_instruction.type = DOM_PROC_INSTRUCTION;
|
||||
|
Loading…
Reference in New Issue
Block a user