Moodle

extra <p> where XHTML editor is allowed

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major 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!!!!!!!!!!!!!!

Activity

Hide
Daniele Cordella added a comment -

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>

Show
Daniele Cordella added a comment - 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>
Hide
Jason Scalco Piloti added a comment -

I like to resolve this issue =)

Show
Jason Scalco Piloti added a comment - I like to resolve this issue =)
Hide
Jason Scalco Piloti added a comment -

I sometimes did the same space, but did not find this error? this all correct:

<div id="content" class=" clearfix"><div class="box generalbox generalboxcontent boxaligncenter"><br /><p>Oi estou testando</p></div>

I am using the version of moodle:

Moodle 1.9.4

Show
Jason Scalco Piloti added a comment - I sometimes did the same space, but did not find this error? this all correct: <div id="content" class=" clearfix"><div class="box generalbox generalboxcontent boxaligncenter"><br /><p>Oi estou testando</p></div> I am using the version of moodle: Moodle 1.9.4
Hide
Daniele Cordella added a comment -

You are right Jason.
This bug doesn't exist any more. I was not able to reproduce it, too. It, apparently, has already been fixed in the frame of different bugs. Thanks for your interest and check.
If you are looking for a "similar" simple bug, let me highlight the bug MDL-18416. This bug is as simple as unsympathetic because it let the graphic aspect of the page to get deformed with some moodle themes.

Martin, please close this old and no longer useful bug issue, please.
Ciao and thank again Jason.

Show
Daniele Cordella added a comment - You are right Jason. This bug doesn't exist any more. I was not able to reproduce it, too. It, apparently, has already been fixed in the frame of different bugs. Thanks for your interest and check. If you are looking for a "similar" simple bug, let me highlight the bug MDL-18416. This bug is as simple as unsympathetic because it let the graphic aspect of the page to get deformed with some moodle themes. Martin, please close this old and no longer useful bug issue, please. Ciao and thank again Jason.

People

Vote (1)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: