We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cfb6042 + 1801845 commit 7c231ccCopy full SHA for 7c231cc
syntax/pandoc.vim
@@ -193,7 +193,7 @@ endif
193
" HTML: {{{3
194
" Set embedded HTML highlighting
195
syn include @HTML syntax/html.vim
196
-syn match pandocHTML /<\/\?\a[^>]\+>/ contains=@HTML
+syn match pandocHTML /<\/\?\a.\{-}>/ contains=@HTML
197
" Support HTML multi line comments
198
syn region pandocHTMLComment start=/<!--\s\=/ end=/\s\=-->/ keepend contains=pandocHTMLCommentStart,pandocHTMLCommentEnd
199
call s:WithConceal('html_c_s', 'syn match pandocHTMLCommentStart /<!--/ contained', 'conceal cchar='.s:cchars['html_c_s'])
0 commit comments