Infinity-For-Reddit icon indicating copy to clipboard operation
Infinity-For-Reddit copied to clipboard

Caret doesn't format properly in code blocks

Open ziadti opened this issue 3 years ago • 1 comments

When using a caret (^) inside a code block (```) it formats as <sup>...</sup>

How I typed it:

IMG_20220410_014906.jpg

How it appears:

IMG_20220410_014954.jpg

Version: 5.1.9

ziadti avatar Apr 09 '22 23:04 ziadti

Same is true for inline code: infinityforreddit-mardown-code-caret infinityforreddit-mardown-code-caret-preview

quazar-omega avatar May 22 '22 17:05 quazar-omega

This seems still to be an issue (Infinitiy Version 5.3.6)

For example, when viewing this, the second code block contains sed -nE '/^>/ {, which is displayed as sed -nE '/<sup>>/</sup> {

casperklein avatar Feb 01 '23 16:02 casperklein

Hey @casperklein I am not able to reproduce your bug. 5.4.0 beta. But I don't think we changed the parser in the meantime.

Screenshot_20230202-231610_Infinity.jpg

Wladefant avatar Feb 02 '23 22:02 Wladefant

I've updated to v5.4.0-beta4 and the issue is gone 👍

casperklein avatar Feb 03 '23 00:02 casperklein