-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Fix pug-lexer parsed escaped interpolations incorrectly (#3299)
* fix: Fix escaped interpolation returning `#{}` but not `!{}` * test: Update test case and snapshot of `pug-lexer/../interpolation.escape.pug` * style: Fix prettier format
- Loading branch information
Showing
3 changed files
with
37 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
|
||
- var id = 42; | ||
foo | ||
| some | ||
| \#{text} | ||
| here | ||
| My ID #{"is {" + id + "}"} | ||
| \!{here} | ||
| My ID #{"is {" + id + "}"} |