mirrored from git://git.moodle.org/moodle.git
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The upgraded version of HTML2Text highlighted some bugs in our unit tests. In the IOS test, the HTML content includes a couple of patches of In the previous version of HTML2Text, these were being converted to breaking spaces. In one of these cases, it was then removed due to a trim. The expected texts have been converted to use the correct non-breaking spaces. In the case of the trimmed one, it is no longer trimmed as non-breaking spaces are not trimmed. This gives a truer reflection of the actual text. In the case of the Outlook test, this trailing whitespace is not present in the source. It was likely caused by a bug in the previous version of HTML2Text. In the case of the weblib change, the test was just wrong. Both of the actual characters are encodings for an HTML bullet (decimal and hex) and should both be converted to the relevant UTF8 representation of this bullet.
- Loading branch information
1 parent
ec2d33d
commit 4425005
Showing
3 changed files
with
7 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters