Skip to content

Commit

Permalink
Parse <script>...</script> as literal even in inline text.
Browse files Browse the repository at this point in the history
  • Loading branch information
jgm committed Jun 26, 2011
1 parent eb6c29e commit 530acc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion markdown_parser.leg
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,7 @@ Code = ( Ticks1 Sp < ( ( !'`' Nonspacechar )+ | !Ticks1 '`'+ | !( Sp Ticks1 ) (
)
{ $$ = mk_str(yytext); $$->key = CODE; }

RawHtml = < (HtmlComment | HtmlTag) >
RawHtml = < (HtmlComment | HtmlBlockScript | HtmlTag) >
{ if (extension(EXT_FILTER_HTML)) {
$$ = mk_list(LIST, NULL);
} else {
Expand Down

0 comments on commit 530acc5

Please sign in to comment.