quiz_master_next icon indicating copy to clipboard operation
quiz_master_next copied to clipboard

Some symbols should not be replaced in `<pre>` tags.

Open cedrick-f opened this issue 2 years ago • 0 comments

Hi,

Site Info

WordPress Version: 5.9.3 QSM Version: 8.0.3 Browser: Firefox 103.0.2

General description

Some symbols placed in <pre> tag, are replaced in question description after editing back the question.

Expected behavior

Keep theses symbols unchanged in <pre> tags.

Actual behavior

Some symbols (<, >, [, ], ... for example) placed in <pre> tag, are replaced in question description after editing back the question ... and don't appear in quiz view.

Steps to reproduce the behavior

Create a new question Insert <pre>a<b</pre> in the description (Text mode) Save Question Edit another question or go to another tab. Edit back the question (in Text mode)

==> <pre>a&lt;b</pre>

Thanks by advance !

cedrick-f avatar Aug 27 '22 15:08 cedrick-f