Escape quotes not working
See original GitHub issueChallenge Quoting Strings with Single Quotes has an issue.
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36
.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:
var myStr ='<a href="http://www.example.com" target= "_blank">Link</a>';
Issue Analytics
- State:
- Created 7 years ago
- Comments:12 (9 by maintainers)
Top Results From Across the Web
windows - Escape double quotes in parameter - Stack Overflow
Another way to escape quotes (though probably not preferable), which I've found used in certain places is to use multiple double-quotes.
Read more >Apostrophes and double quotes don't show up until I type the ...
For Windows 10, the fix from control panel did not work. I have to use "Settings" -> "Region & Language". Then, selecting on...
Read more >How to escape quotes in shell? - Unix & Linux Stack Exchange
It's done by finishing already opened one ( ' ), placing escaped one ( \' ), then opening another one ( ' )....
Read more >Quotes, Escape Characters, Delimiters - Windows CMD - SS64
How-to: Escape Characters, Delimiters and Quotes at the Windows command line. ... The \ escape can cause problems with quoted directory paths that...
Read more >about Quoting Rules - PowerShell | Microsoft Learn
To prevent the substitution of a variable value in a double-quoted string, use the backtick character ( ` ), which is the PowerShell...
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
@pamela113 @Marmiz: The test is quite strict. It won’t accept a space between
target=
and"_blank"
or two spaces between attributes, like there are betweenhref="http://www.example.com"
andtarget
(which it shouldn’t so as to conform to accepted standards).Hi, Thanks Joseph!! I logged out and logged back in and it worked. Pam
On Thu, Feb 23, 2017 at 7:48 PM, Lance notifications@github.com wrote: