Anyone care to take a stab at this?
I’ve tried different PHP versions and compiled a bunch of modules but no joy. The bug seems fairly well documented, though most reports are at least 2 years old – except for this minor report that specifies a recent PHP fix in July 2012: http://mandriva.598463.n5.nabble.com/Bug-43486-XML-parsing-ignores-encoded-elements-in-character-data-e-g-amp-gt-amp-lt-etc-tt5709110.html#none
Here’s some other pages that I came across:
Reported in Moodle Tracker for Moodle 1.93: http://tracker.moodle.org/browse/CONTRIB-3390
Bug was reported here in 2009: http://www.mandriva.com/en/support/security/advisories/?name=MDVA-2009:041
Reported here 2008: https://bugs.php.net/bug.php?id=45996 and http://social.microsoft.com/Forums/en-US/writerbeta/thread/62ad697b-ed19-4b0b-ae6a-32bec06b142b/
Reported here in 2005: http://moodle.org/mod/forum/discuss.php?d=22034
Thanks,
Fernando