atom / snippets

Atom snippets package
MIT License
205 stars 101 forks source link

Escaping backslash #142

Closed VeeeneX closed 9 years ago

VeeeneX commented 9 years ago

I've been trying to make my own snippet for php. But I've found problem while I was working on it. So here is the problem, which occurs only on multi-line body:

body -> reality -> excepted 
\//\ -> // -> //
\\ -> nothing -> \
\ -> nothing -> \

I'm not sure if this is related issue : https://github.com/groupon/cson-parser/issues/34

izuzak commented 9 years ago

Try using 4 backslashes (see https://github.com/atom/snippets/issues/127#issuecomment-92385490 and https://github.com/atom/snippets/issues/128#issuecomment-94171361). Let us know if that doesn't help.