Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Component/s: moodle.org
-
Labels:None
Description
Steps to reproduce:
1. Make a forum post.
2. In the HTML editor, use the indent button to indent a paragraph
3. Save.
Actual result:
The indent is lost.
Expected result:
Well Duh!
------
Looking, It seems that the HTML editor adds a <div style="margin-left: 40px;"> to do the indent, and Moodle then strips out the style attribute.
Also, if you try, as a work-round, using a more semantic <blockquote> tag, it seems that the Moodle 2.0 stylesheet sets that to 0 indent, which is stupid.
Issue Links
| This issue is duplicated by: | ||||
| MDLSITE-814 | Indent does not work in the moodle.org forums |
|
|
|
The Moodle2 theme also breaks <dl> formatting. If designers insist on using a browser styles reset script then they must ensure that they put back sensible formatting for all HTML elements.