Misinterpreted HTML target attribute values like _blank
See original GitHub issueHi all,
Sometimes I write HTML in my .md and when it’s link, I use target="_blank"
.
This gets misinterpreted on the markdown parser as beginning of the underline.
Let’s add exception for the following not to be parsed (including double quotes probably, to differentiate from real occurrences):
"_blank"
"_self"
"_parent"
"_top"
These are all possible values of HTML target
attribute.
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Browsing context name must be at least one character long.
The target attribute on <a> elements can't be blank. This attribute defines the browsing context for links, that is, where should the linked...
Read more >The a target HTML Attribute Explained - freeCodeCamp
The attribute specifies where to open the linked document in an a (anchor) tag. Examples of A target attribute with the value of...
Read more >HTML target _blank Attribute - Dofactory
The target attribute specifies where the linked page or form response will be opened. The target="_blank" value tells the browser that the page...
Read more >HTML a target Attribute - W3Schools
Attribute Values ; _blank, Opens the linked document in a new window or tab ; _self, Opens the linked document in the same...
Read more >Don't Use The Target="_Blank" Link Attribute In These Cases
Using the _blank link attribute will cause the link to open in a new browser window or tab. But it is not as...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @burodepeper thanks for the solution.
I actually didn’t even have the
language-markdown
installed apparently! Once installed, all is well!It’s strange, why is
language-markdown
not the default markdown parser in Atom? Your parser is superior and should be bundled with Atom. Who is the best person(s) at Atom to approach regarding this?Nah, not impossible, but to be honest, I like how it has been growing organically. I haven’t promoted it, at least not much. I’ve only mentioned it in a handful places, but people seem to like it, and it is slowly spreading. A blog article would be nice. Send me a link when it’s up, will you?