Skip to content

Commit

Permalink
Simplified regex
Browse files Browse the repository at this point in the history
  • Loading branch information
RunDevelopment committed Dec 22, 2020
1 parent 580b306 commit ac6b04a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/prism-markdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@
inside: {
'operator': /^!/,
'content': {
pattern: /(^\[)[^\]]+(?=\][ \t(\[])/,
pattern: /(^\[)[^\]]+(?=\])/,
lookbehind: true,
inside: {} // see below
},
Expand Down
2 changes: 1 addition & 1 deletion components/prism-markdown.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ac6b04a

Please sign in to comment.