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:
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<meta charset="utf-8" />
<title>Special Characters Test</title>
<h1>Triangle Up ▴</h1>
<h1>Triangle Down ▾</h1>
- Click on Preview
- Click on Return
HTML code is not modifiedActual Results:
HTML code is modified (when using the example, everything after the triangle up is missing).