mirror of
https://github.com/moodle/moodle.git
synced 2025-07-25 00:02:18 +02:00
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.
9 lines
277 B
Plaintext
9 lines
277 B
Plaintext
Description of Html2Text library import into Moodle
|
|
|
|
Instructions
|
|
------------
|
|
1. Clone https://github.com/mtibben/html2text.git into an unrelated directory
|
|
2. Copy /path/to/html2text/src/Html2Text.php to lib/html2text/
|
|
|
|
Imported from: https://github.com/mtibben/html2text.git
|