W3C home > Mailing lists > Public > public-css-archive@w3.org > March 2020

Re: [csswg-drafts] [css-selectors][css-escape] Cannot select attributes with multiple escaped chars (#4820)

From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
Date: Sun, 01 Mar 2020 19:22:01 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-593134525-1583090520-sysbot+gh@w3.org>
Sure, if you are using JS, you have to escape a backslash twice (once for JS and once for CSS). Or use `String.raw` to get the raw specified string without processing escapes.

-- 
GitHub Notification of comment by Loirooriol
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4820#issuecomment-593134525 using your GitHub account
Received on Sunday, 1 March 2020 19:22:03 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:02 UTC