MDL-51524 libraries: Update to latest version of html2text
authorAndrew Nicols <andrew@nicols.co.uk>
Thu, 1 Oct 2015 06:04:15 +0000 (14:04 +0800)
committerAndrew Nicols <andrew@nicols.co.uk>
Mon, 12 Oct 2015 01:35:58 +0000 (09:35 +0800)
commitec2d33dfcd32f2dc73466176b97775d1f75314bb
treea81d4f244baaee3e1318ad973271daae78db38f8
parent74fad2ce3de05ce158bf6588c20bb277154d8d9d
MDL-51524 libraries: Update to latest version of html2text

We were previously using an ancient version of html2text from RoundCube
with many customisations.

This patchset moves to the version included in the latest version of
HTML2Text, and wraps the library in a moodle-provided class. This
moves all previous hacks away from that class.

Unfortunately, two hacks still remain - two of the functions in the
RoundCube class are private, and must be modified to protected in order to
use the class effectively.
lib/html2text.php [deleted file]
lib/html2text/Html2Text.php [new file with mode: 0644]
lib/html2text/lib.php [new file with mode: 0644]
lib/html2text/readme_moodle.txt [new file with mode: 0644]
lib/html2text_readme.txt [deleted file]
lib/tests/html2text_test.php
lib/thirdpartylibs.xml
lib/upgrade.txt
lib/weblib.php