Issue Details (XML | Word | Printable)

Key: MDL-9248
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: David Mudrak
Reporter: David Mudrak
Votes: 0
Watchers: 0
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

lang.php does not preserve &lt; and &gt; entities but transfers them into < and >

Created: 08/Apr/07 01:00 AM   Updated: 06/May/07 04:21 AM
Return to search
Component/s: Languages
Affects Version/s: 1.8
Fix Version/s: 1.8.1

Issue Links:
Dependency
 

Participants: David Mudrak
Security Level: None
Resolved date: 08/Apr/07
Affected Branches: MOODLE_18_STABLE
Fixed Branches: MOODLE_18_STABLE


 Description  « Hide
When lang.php saves the translation file, it converts HTML entities like &lt; and &gt; into < and > characters. This may produce critical error in parsing XML/XHTML document.

It is necessary to preserve HTML entites "as they are" without any transformation.

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
David Mudrak committed 1 file to 'Moodle CVS' on branch 'MOODLE_18_STABLE' - 08/Apr/07 02:22 AM
Fixes MDL-9248 and two other untracked bugs.

* MDL-9248 - lang.php now keeps &lt;, &gt;, &nbsp; and other HTML entities
* There was an XHTML compliance error with redundant </form></div> tags in non-editable mode
* There was an bug with ORPHANed strings in local language pack
MODIFY admin/lang.php   Rev. 1.88.2.4    (+11 -6 lines)