Parse <script>...</script> as literal even in inline text. [jgm/peg-markdown]

See https://github.com/jgm/peg-markdown/commit/530acc5
This commit is contained in:
Michael Teichgräber 2012-04-30 02:16:21 +02:00
parent d23584ac81
commit a653491ff5
3 changed files with 4 additions and 4 deletions

View File

@ -31,7 +31,7 @@ const (
// rebuild it using
// make nuke
// make parser
needParserIfaceVersion = parserIfaceVersion_9
needParserIfaceVersion = parserIfaceVersion_10
)
// Markdown Options:

View File

@ -28,7 +28,7 @@ import (
)
const (
parserIfaceVersion_9 = iota
parserIfaceVersion_10 = iota
)
// Semantic value of a parsing action.
@ -684,7 +684,7 @@ Code = ( Ticks1 Sp < ( ( !'`' Nonspacechar )+ | !Ticks1 '`'+ | !( Sp Ticks1 ) (
)
{ $$ = p.mkString(yytext); $$.key = CODE }
RawHtml = < (HtmlComment | HtmlTag) >
RawHtml = < (HtmlComment | HtmlBlockScript | HtmlTag) >
{ if p.extension.FilterHTML {
$$ = p.mkList(LIST, nil)
} else {

2
portid
View File

@ -1 +1 @@
171
172