Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Cannot Reproduce
-
Affects Version/s: 1.8
-
Fix Version/s: 1.9.4
-
Component/s: Accessibility
-
Labels:None
-
Affected Branches:MOODLE_18_STABLE
-
Fixed Branches:MOODLE_19_STABLE
Description
inside a course, create a resource type: "Display a directory".
In the "Editing Resource" page the admin is allowed to enter a "summary".
What is important is that the "summary" field has the html editor.
This let me think I can enter xhtml code.
ok. I do this. I recall the code view and I write <p>Hello</p>. Now I save and I go to see the xhtml code of the resource page.
What I find is this:
<div id="content">
<div class="box generalbox generalboxcontent boxaligncenter">
<p>
<p>
Hello
<p>
</p>
</div>
Thai very silly bug breaks accessibility!!!!!!!!!!!!!!
By editing the "Summary" again
what I got in the resource page is
<div class="box generalbox generalboxcontent boxaligncenter">
<p>
<br />
<p>
Hello
</p>
</p>
</div>