Skip to content

Commit

Permalink
Fixes #136
Browse files Browse the repository at this point in the history
  • Loading branch information
yuin committed Jun 4, 2020
1 parent 6eb3819 commit 4a49786
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parser/html_block.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ var htmlBlockType5Close = []byte{']', ']', '>'}

var htmlBlockType6Regexp = regexp.MustCompile(`^[ ]{0,3}</?([a-zA-Z0-9]+)(?:\s.*|>.*|/>.*|)\n?$`)

var htmlBlockType7Regexp = regexp.MustCompile(`^[ ]{0,3}<(/)?([a-zA-Z0-9]+)(` + attributePattern + `*)(:?>|/>)\s*\n?$`)
var htmlBlockType7Regexp = regexp.MustCompile(`^[ ]{0,3}<(/)?([a-zA-Z0-9\-]+)(` + attributePattern + `*)(:?>|/>)\s*\n?$`)

type htmlBlockParser struct {
}
Expand Down

0 comments on commit 4a49786

Please sign in to comment.