Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
AndiDittrich committed Oct 18, 2021
1 parent cb97034 commit a5b30b4
Show file tree
Hide file tree
Showing 4 changed files with 1,530 additions and 1,306 deletions.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
### Version 3.5.1 ###

* Bugfix: `php` variable and function names followed by single/double quotes were interpreted as name - thanks to [oleg-dk on GitHub](https://github.com/EnlighterJS/EnlighterJS/issues/178)
* Bugfix: `latex` command on first line not recognized - thanks to [MamounImadRajab on GitHub](https://github.com/EnlighterJS/EnlighterJS/issues/169)

### Version 3.5.0 ###

Expand Down
2 changes: 1 addition & 1 deletion dist/enlighterjs.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/lang/latex.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export class latex extends generic {

// commands
{
regex: /[^\\](\\\w+)(?:[\W\s])/gm,
regex: /(?:^|[^\\])(\\\w+)(?:[\W\s])/gm,
type: 'k0'
},

Expand Down
Loading

0 comments on commit a5b30b4

Please sign in to comment.