Comment 1 for bug 1999349

Revision history for this message
mike juvrud (mjuv) wrote :

This behavior only occurs when there is a UNICODE character preceding the selected text where the tag is to be inserted. In the below example, the first <p></p> line of text will insert a tag correctly. The second <p></p> line will NOT insert correctly.

=====================
SAMPLE TEXT (USING CHARACTER U+1F448)
---------------------
<p><i>TEST</i> TEST TEST</p>
👈
<p><i>TEST</i> TEST TEST</p>
=====================
RESULT (selecting "<i>TEST</i> TEST TEST" and using BOLD tool to insert <b></b> tags.
---------------------
[PASS] <p><b><i>TEST</i> TEST TEST</b></p>
👈
[FAIL] <p><i<b>>TEST</i> TEST TES</b>T</p>
=====================

=====================
FULL TEXT OF TESTING FILE (TEST.XHTML)
---------------------
<?xml version='1.0' encoding='utf-8'?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head><title>TEST</title></head>
<body>

<p><i>TEST</i> TEST TEST</p>
👈
<p><i>TEST</i> TEST TEST</p>

</body>
</html>