|
@@ -56,9 +56,9 @@ export const defaultParserOptions: MergedParserOptions = {
|
|
|
|
|
|
|
|
export const enum TextModes {
|
|
export const enum TextModes {
|
|
|
// | Elements | Entities | End sign | Inside of
|
|
// | Elements | Entities | End sign | Inside of
|
|
|
- DATA, // | ✔ | ✔ | End tags of ancestors |
|
|
|
|
|
- RCDATA, // | ✘ | ✔ | End tag of the parent | <textarea>
|
|
|
|
|
- RAWTEXT, // | ✘ | ✘ | End tag of the parent | <style>,<script>
|
|
|
|
|
|
|
+ DATA, // | ✔ | ✔ | End tags of ancestors |
|
|
|
|
|
+ RCDATA, // | ✘ | ✔ | End tag of the parent | <textarea>
|
|
|
|
|
+ RAWTEXT, // | ✘ | ✘ | End tag of the parent | <style>,<script>
|
|
|
CDATA,
|
|
CDATA,
|
|
|
ATTRIBUTE_VALUE
|
|
ATTRIBUTE_VALUE
|
|
|
}
|
|
}
|