You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey @calofmijuck . Thanks for reporting this issue. This is something that is not intended. It does seem to be caused by the blockquote logic. I will need to look at why it is running for non-blockquotes (probably an oversight on my part).
I believe that I have a fix for this. It is still a work in progress since it is currently break some older UTs, but I am down to one broken UT now. Hopefully I can get that fixed and ready soon.
Got it working. I just want to tackle one more scenario for blockquotes since that is a more complex scenario for knowing when to trim whitespace prior to the opening math block indicator because it was moved to a new line.
I have merged the changes that should address this issue. This issue should be fixed on master and in the next release. Please let us know if that is not the case.
Describe the Bug
The rule
Move Math Block Indicators to Their Own Line
duplicates text before block math delimiter.How to Reproduce
Steps to reproduce the behavior:
Lint on save
rule for simplicity.Move Math Block Indicators to Their Own Line
Rulea$$b$$
in the editor.Expected Behavior
Expected output if applicable:
Screenshots
Screen.Recording.2024-01-17.at.22.03.03.mov
Device
Additional Context
I checked the source code and found that this is actually a feature for math blocks inside blockquotes (
>
).For blockquotes,
should be linted to
which is probably why the
a
in my example keeps getting duplicated. Is this intended behavior?The text was updated successfully, but these errors were encountered: