-
Notifications
You must be signed in to change notification settings - Fork 222
Description
Describe the bugs
Not sure if it's old or new, but the renderer is litterally acting, here:
-
when previewing a description (I'm forking a kata, in the capture below) all katex expressions are tripled. This occurs with any kind of katex expressions (inline and blocks)
-
I got similar problems when solving a kata. I did a copy/paste from a description to the editor in a trainer: the description looks fine, but once the selected text has been pasted, I got triplets of it in the trainer in some situations. It looks like it happens only when copying inline katex expressions.
Example here (warning: trainer link!) https://www.codewars.com/kata/56347fcfd086de8f11000014/train/typescript- select the whole inline expression
A0(x0,y0)
(3rd §) and paste in the trainer => triplets:A0(x0,y0) A_0 (x_0, y_0) A0(x0,y0)
- select a whole inline expression with text surrounding it (before or after or both) + paste => triplets
- select a part of it only + paste => ok
- select a part of the katex block just above or a complete line of it or the whole block + paste => ok
- select the whole inline expression
NOTE:
once the fork is published, the description looks fine (but cause the copy/paste troubles)