Open MichaelKaaden opened 1 year ago
Should be fixed with PR 31.
Sorry but this issue is not fixed with 0.2.2. The "security fixes" leave unwanted #&59; in the resulting string! return text .replaceAll("'", ''') .replaceAll('"', '"') .replaceAll(';', ';'); should better be return text .replaceAll(';', ';') .replaceAll("'", ''') .replaceAll('"', '"'); so that the semicolons which are inserted in the other lines on purpose are not replaced again
xbbcode-parse@0.2.1
seems to get HTML tags wrong.Taking
<h1>Hello World!</h1>
as input, it produces<;h1>;Hello World!<;/h1>;
.I had expected
<h1>Hello World!</h1>
Reproduction: