Skip to content

Instantly share code, notes, and snippets.

@rgchris
Created October 2, 2017 19:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rgchris/1543b04a0ef8f9e9a20aa00dfe16605b to your computer and use it in GitHub Desktop.
Save rgchris/1543b04a0ef8f9e9a20aa00dfe16605b to your computer and use it in GitHub Desktop.
A list of state names for the Markup module (used as a bug workaround).
<states>
data: rcdata: rawtext: script-data: script-data: plaintext:
tag-open: end-tag-open: tag-name: rcdata-less-than-sign: rcdata-end-tag-name: rawtext-less-than-sign:
rawtext-end-tag-open: rawtext-end-tag-name: script-data-less-than-sign: script-data-end-tag-open: script-data-end-tag-name: script-data-escape-start:
script-data-escape-start-dash: script-data-escaped: script-data-double-escaped: script-data-escaped: script-data-escaped-dash: script-data-escaped-dash-dash:
script-data-escaped-less-than-sign: script-data-escaped-end-tag-open: script-data-escaped-end-tag-name: script-data-double-escape-start: script-data-double-escaped: script-data-double-escaped-dash:
script-data-double-escaped-dash-dash: script-data-double-escaped-less-than-sign: script-data-double-escape-end: before-attribute-name: attribute-name: after-attribute-name:
before-attribute-value: attribute-value-double-quoted: attribute-value-single-quoted: attribute-value-unquoted: character-reference-in-attribute-value: after-attribute-value-quoted:
self-closing-start-tag: bogus-comment: markup-declaration-open: comment-start: comment-start-dash: comment:
comment-less-than-sign: comment-less-than-sign-bang: comment-less-than-sign-bang-dash: comment-less-than-sign-bang-dash-dash: comment-end-dash: comment-end:
comment-end-bang: doctype: before-doctype-name: doctype-name: after-doctype-name: after-doctype-public-keyword:
before-doctype-public-identifier: doctype-public-identifier-double-quoted: doctype-public-identifier-single-quoted: after-doctype-public-identifier: between-doctype-public-and-system-identifiers: after-doctype-system-keyword:
before-doctype-system-identifier: doctype-system-identifier-double-quoted: doctype-system-identifier-single-quoted: after-doctype-system-identifier: bogus-doctype: cdata-section:
cdata-section-bracket: cdata-section-end: character-reference: named-character-reference: ambiguous-ampersand: numeric-character-reference:
hexademical-character-reference-start: decimal-character-reference-start: hexademical-character-reference: decimal-character-reference: numeric-character-reference-end:
initial: before-html: before-head: in-head: in-head-noscript: after-head:
in-body: text: in-table: in-table-text: in-caption: in-column-group:
in-table-body: in-row: in-cell: in-select: in-select-in-table: after-body:
in-frameset: after-frameset: after-after-body: after-after-frameset: foreign-content: _
</states>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment