Skip to content

Commit

Permalink
Merge pull request #977 from rbricheno/gh-pages
Browse files Browse the repository at this point in the history
Fix highlighting of empty comments in PowerShell
  • Loading branch information
LeaVerou authored Jun 20, 2016
2 parents b4f3423 + 311a890 commit 4fda477
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions components/prism-powershell.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Prism.languages.powershell = {
lookbehind: true
},
{
pattern: /(^|[^`])#.+/,
pattern: /(^|[^`])#.*/,
lookbehind: true
}
],
Expand Down Expand Up @@ -49,4 +49,4 @@ Prism.languages.powershell = {
// Variable interpolation inside strings, and nested expressions
Prism.languages.powershell.string[0].inside.boolean = Prism.languages.powershell.boolean;
Prism.languages.powershell.string[0].inside.variable = Prism.languages.powershell.variable;
Prism.languages.powershell.string[0].inside.function.inside = Prism.util.clone(Prism.languages.powershell);
Prism.languages.powershell.string[0].inside.function.inside = Prism.util.clone(Prism.languages.powershell);
2 changes: 1 addition & 1 deletion components/prism-powershell.min.js

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

0 comments on commit 4fda477

Please sign in to comment.