diff --git a/lexers/style.ts b/lexers/style.ts index 099a4bc..76d6f43 100644 --- a/lexers/style.ts +++ b/lexers/style.ts @@ -431,14 +431,13 @@ import { SSL_OP_NETSCAPE_CHALLENGE_BUG } from "constants"; } else if (b[aa] === "[") { block.push("]"); spacestart(); - } else if (b[aa] === "#" && b[aa + 1] === "{") { - out.push("#"); + } else if ((b[aa] === "#" || b[aa] === "@") && b[aa + 1] === "{") { + out.push(b[aa]); aa = aa + 1; block.push("}"); spacestart(); } else if (b[aa] === block[block.length - 1]) { block.pop(); - //spacestart(); } } out.push(b[aa]); diff --git a/package.json b/package.json index a76b967..c457cc9 100644 --- a/package.json +++ b/package.json @@ -39,5 +39,5 @@ "start": "node js/services build --browser", "test": "node js/services validation" }, - "version": "2.2.3" + "version": "2.2.4" } diff --git a/readme.md b/readme.md index 00220b1..4a61718 100644 --- a/readme.md +++ b/readme.md @@ -2,7 +2,7 @@ [![Greenkeeper badge](https://badges.greenkeeper.io/Unibeautify/parse-framework.svg)](https://greenkeeper.io/) -## Version 2.2.3 +## Version 2.2.4 Play around with this application [in your browser](http://prettydiff.com/parse-framework/runtimes/browsertest.xhtml). ### Todo diff --git a/runtimes/browsertest.xhtml b/runtimes/browsertest.xhtml index c5caa28..0748ecc 100644 --- a/runtimes/browsertest.xhtml +++ b/runtimes/browsertest.xhtml @@ -11,7 +11,7 @@ -

parse-framework experimentation, 2.2.2

+

parse-framework experimentation, 2.2.3