Skip to content

Apostrophes count as unmatched delimiters #39

Description

@anna-is-cute

I noticed this in markdown filters, but it appears to happen on any text. Tested on emacs 28.0.50 and haml-mode commit bf5b6c1.

%div
  :markdown
    This is an apostrophe: '<>
  %span more elements

If the point is at <>, pressing enter will not indent the next line. Furthermore, trying to type an interpolation or use Ruby past this point will auto-escape further apostrophes.

= func(\'oh no')

or

:markdown
  Inlining a #{func(\'whoops')}!

This is not corrected until a matching apostrophe is added somewhere.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions