When HTML code containing some special characters (e.g.: Black Up-Pointing Small Triangle,
▴) are added into an HTML Portlet using Firefox, the code breaks.
In some scenarios, the character gets replaced by garbage, and in some others, the code after the special character is lost.
This does not happen when using other supported browsers, such as Chrome or Edge.
Steps to Reproduce
- Open Firefox (any version, tested using 66.0.4).
- Go to Administration > Studio > Portlets, and create a new HTML Portlet using the code:
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<title>Special Characters Test</title>
</head>
<body>
<h1>Triangle Up ▴</h1>
<h1>Triangle Down ▾</h1>
</body>
</html>
- Click on Preview
- Click on Return
Expected Results: HTML code is not modified
Actual Results: HTML code is modified (when using the example, everything after the triangle up is missing).