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.
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.
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.This is not corrected until a matching apostrophe is added somewhere.