-
Bug
-
Resolution: Won't Fix
-
Minor
-
None
-
1.7.3
-
None
-
Windows XP, PHP4.4.7
-
MOODLE_17_STABLE
This bug I discovered when editing a web page resource.
Given a page with the following code:
<span class="multilang" lang="en">English text</span><span class="multilang" lang="fr">French Text</span>
on clicking Save changes the resource displays (Both language texts):
English Text
French Text
Checking the resource by clicking 'Update this Resource' the code has change to:
<span lang="en" class="multilang">English text</span><span lang="fr" class="multilang">French Text</span>
The lang attribute becomes the first attribute in both spans. On clicking save changes again the text displays correctly.
The ideal fix for this would be that the attributes are reordered correctly and saved before the page language is read so as not to have to go back and save the resouce again. I suspect the that the reordering takes place when you open the resouce for update the second time.
- duplicates
-
MDL-8955 Multilang filter doesn't accept different attribute order
-
- Closed
-