Skip to content

Conversation

@AshinGau
Copy link

@AshinGau AshinGau commented Sep 21, 2017

when type <my-tag>, it fails to close the tag because of the imperfect tag regex.

tylerbrazier and others added 4 commits September 28, 2015 22:04
The getCurrentTag() function previously didn't account for tags with
numbers in them such as h1, h2, etc. Also it didn't account for special
characters such as # anywhere within < and >.
This was happening because the pattern would match 'a' for the div
rather than 'div' since we grab the first occurrence of a tag in the
line. http://stackoverflow.com/questions/11865845
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants