When we highlight with stripping HTML we get data corrupted and converted to rendered entities instead of keeping original.
Expected:
<?php echo "<b>hello world</b>";
Actual:
<?php echo "<b>hello</b> world"
MRE:
mysql> drop table if exists test; create table test (v text); insert into test (id,
v) values (1, '<code><?php echo "hello world";</code>'); select highlight({html_s
trip_mode=strip}) from test where match('hello');
+------------------------------------+
| highlight({html_strip_mode=strip}) |
+------------------------------------+
| <?php echo "<b>hello</b> world"; |
+------------------------------------+
When we highlight with stripping HTML we get data corrupted and converted to rendered entities instead of keeping original.
Expected:
Actual:
MRE: