Skip to content

1.9.1

Choose a tag to compare

@github-actions github-actions released this 16 Oct 13:46
· 1 commit to main since this release

Release 1.9.1: stop escaping directives inside inline code

Repair and paste ran the directive rule on the whole line, before
splitting off inline code, so use #include to import got a stray
backslash. Typing did the same the moment the closing backtick landed,
because the check used the cursor position instead of the # itself.

  • escapeOutsideInlineCode: run the hash rule inside the parts loop, on
    non-code segments only; guard against a segment start being mistaken
    for a line start.
  • handleEditorChange: decide inline-code membership by the position of
    the matched #, not the cursor.