Skip to content

v5.16.0

Choose a tag to compare

@github-actions github-actions released this 23 Sep 16:22
· 12 commits to main since this release

Minor Changes

  • #246 402c94f Thanks @DylanPiercey! - Export escapeText, which escapes text content so the parser reads it back as the same text, for tools that print Marko source. Only a backslash run before ${ or $!{ is changed; pass the content printed after the text as the second argument so that a backslash run ending the text does not escape a placeholder it leads into.

Patch Changes

  • #246 402c94f Thanks @DylanPiercey! - Read an odd run of five or more backslashes before ${ or $!{ as escapes, like a run of one or three: \\\\\${x} is now the text \\${x} rather than two backslashes and a placeholder.