diff --git a/markdown.go b/markdown.go index ede5b36..2ce0283 100644 --- a/markdown.go +++ b/markdown.go @@ -31,7 +31,7 @@ const ( // rebuild it using // make nuke // make parser - needParserIfaceVersion = parserIfaceVersion_12 + needParserIfaceVersion = parserIfaceVersion_13 ) // Markdown Options: diff --git a/parser.leg b/parser.leg index c5808f2..6e75d4c 100644 --- a/parser.leg +++ b/parser.leg @@ -28,7 +28,7 @@ import ( ) const ( - parserIfaceVersion_12 = iota + parserIfaceVersion_13 = iota ) // Semantic value of a parsing action. @@ -729,8 +729,10 @@ Line = RawLine { $$ = p.mkString(yytext) } RawLine = ( < (!'\r' !'\n' .)* Newline > | < .+ > Eof ) -SkipBlock = ( !BlankLine RawLine )+ BlankLine* +SkipBlock = HtmlBlock + | ( !'#' !SetextBottom1 !SetextBottom2 !BlankLine RawLine )+ BlankLine* | BlankLine+ + | ( &('#' | SetextBottom1 | SetextBottom2) RawLine ) # Syntax extensions diff --git a/portid b/portid index c5356ba..1057e9a 100644 --- a/portid +++ b/portid @@ -1 +1 @@ -174 +176