Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Trivial
-
Resolution: Won't Fix
-
Affects Version/s: 1.9.3
-
Fix Version/s: None
-
Component/s: HTML Editor
-
Labels:None
-
Database:PostgreSQL
-
Affected Branches:MOODLE_19_STABLE
Description
If I enter this code into the HTML Editor in code view:
<a href="http://example.com/file?test1=1&test2=1">link</a>
It gets converted to the following, which is invalid XHTML:
<a href="http://example.com/file?test1=1&test2=1">link</a>
In general, the HTML Editor correctly converts entities to UTF-8 characters, leaving the core XML entities unconverted. Ampersands outside of URLs are converted to or left as ampersand entities. The problem is just with ampersands inside URLs.
Thanks for reporting this issue.
We have detected that this issue has been inactive for over a year has been recorded as affecting versions that are no longer supported.
If you believe that this issue is still relevant to current versions (2.1 and beyond), please comment on the issue. Issues left inactive for a further month will be closed.
Michael d;
lqjjLKA0p6