Skip to content

Chrome: "To Mozilla format" bug #25

Closed
syoichi opened this Issue May 2, 2012 · 2 comments

2 participants

@syoichi
syoichi commented May 2, 2012

When I converted a userstyle that contains regexp rule using backslashes into "To Mozilla format" userstyle, its first backslash became double.

For example, http://userstyles.org/styles/65020/regexp-test-style.

before
a userstyle that contains regexp rule using backslashes

after
"To Mozilla format" userstyle

On Stylish 0.10, Chrome 18.0.1025.168, Windows 7 Home Premium SP1 64bit.

@JasonBarnabe
Owner

Actually, all backslashes are supposed to be doubled when doing this because your regexp value needs to be escaped using CSS rules. So it's correct that the first backslash is doubled, but incorrect that the rest aren't.

@JasonBarnabe
Owner

Fixed. 9d179c4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.