online-judge icon indicating copy to clipboard operation
online-judge copied to clipboard

Nested `span`s in markdown gives unexpected output

Open Ninjaclasher opened this issue 4 years ago • 1 comments

When we have a nested span:

<span> <span> test </span> </span>

The expected text should be:

test

However, we get:

test </span>

For problem descriptions, this happens both with and without full markdown access, so it most likely doesn't have anything to do with bleach.

Ninjaclasher avatar Apr 09 '21 19:04 Ninjaclasher

Forgot to mention this doesn't seem to happen with other elements (e.g div).

Ninjaclasher avatar Apr 09 '21 19:04 Ninjaclasher