-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Perl and Mojolicious conflict on variables
Mojolicious uses `%=` as one of the ways to inform the templating engine Perl code will be embedded after it, however, it was being matched against Perl's variable scope, `<span class="variable">%=</span>`, even though it's not a valid Perl variable. This commit updates one of the Perl's variable variants in other to allow only `$=` as valid variable for it, which has special meaning, while `@=` and `%=` are not valid, thus solving the conflict with the tag used by Mojolicious.
- Loading branch information
Showing
2 changed files
with
6 additions
and
5 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