Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Inactive
-
1.9.3
-
None
-
None
-
MOODLE_19_STABLE
Description
As specified in http://docs.moodle.org/en/admin/setting/filtersettingfiltermultilang the Multi Language Content filter accepts the <span> tag. The problem is that when we want to compose a web page in Moodle, we usually use tags such as <p> or <div>, which are incompatible with the <span> tag. This is because <p> is a block element and can only be inside other block elements, such as <div>, but it can not be inside <span> because it only accepts inline elements as specified in the W3C Specification:
http://www.w3.org/TR/html401/struct/global.html#h-7.5.4
http://www.cs.sfu.ca/CC/165/sbrown1/wdgxhtml10/block/p.html
One solution for this issue it is to accept also the <div> tag for the Multi Language Content filtering.