summaryrefslogtreecommitdiff
path: root/src/blocks.c
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2020-07-12 16:21:17 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2020-07-12 16:21:17 -0700
commit06e3af57a1ed7b07560974877b5280504eaefb63 (patch)
tree47a225a9671365976a30e394c316a17f3294a1f6 /src/blocks.c
parent33bf2cfdf6928e6e6c53ae0daa13a795bb811fa3 (diff)
Treat textarea like script, style, pre (type 1 HTML block)...
in accordance with spec change.
Diffstat (limited to 'src/blocks.c')
-rw-r--r--src/blocks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blocks.c b/src/blocks.c
index a979b3a..df24d60 100644
--- a/src/blocks.c
+++ b/src/blocks.c
@@ -1167,7 +1167,7 @@ static void add_text_to_container(cmark_parser *parser, cmark_node *container,
int matches_end_condition;
switch (container->as.html_block_type) {
case 1:
- // </script>, </style>, </pre>
+ // </script>, </style>, </textarea>, </pre>
matches_end_condition =
scan_html_block_end_1(input, parser->first_nonspace);
break;