Skip to content

Commit

Permalink
fix(apache) support line continuation with \
Browse files Browse the repository at this point in the history
  • Loading branch information
joshgoebel committed Dec 14, 2024
1 parent a7685d2 commit 30cfe90
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ CAVEATS / POTENTIALLY BREAKING CHANGES

Core Grammars:

- fix(apache) - support line continuation via `\` [Josh Goebel][]
- fix(makefile) - allow strings inside `$()` expressions [aneesh98][]
- enh(css) add all properties listed on MDN (96 additions including `anchor-name`, `aspect-ratio`, `backdrop-filter`, `container`, `margin-trim`, `place-content`, `scroll-timeline`, ...) [BaliBalo][]
- enh(erlang) OTP 27 triple-quoted strings [nixxquality][]
Expand Down Expand Up @@ -39,7 +40,7 @@ Core Grammars:
- fix(nix) handle backslash string escapes [h7x4][]
- fix(nix) don't mix escapes for `"` and `''` strings [h7x4][]
- fix(swift) - Fixed syntax highlighting for class func/var declarations [guuido]

New Grammars:

- added 3rd party TTCN-3 grammar to SUPPORTED_LANGUAGES [Osmocom][]
Expand Down
4 changes: 4 additions & 0 deletions src/languages/apache.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,10 @@ export default function(hljs) {
relevance: 0,
keywords: { literal: 'on off all deny allow' },
contains: [
{
scope: "punctuation",
match: /\\\n/
},
{
className: 'meta',
begin: /\s\[/,
Expand Down

0 comments on commit 30cfe90

Please sign in to comment.