MDL-65752 lib: Update html2text to 4.2.1

This commit is contained in:
Mathew May
2019-06-12 08:58:26 +08:00
parent f3507273e9
commit 8048c981b9
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -112,6 +112,7 @@ class Html2Text
'/—/i', // m-dash in win-1252
'/&(amp|#38);/i', // Ampersand: see converter()
'/[ ]{2,}/', // Runs of spaces, post-handling
'/'/i', // The apostrophe symbol
);
/**
@@ -125,6 +126,7 @@ class Html2Text
'—', // m-dash
'|+|amp|+|', // Ampersand: see converter()
' ', // Runs of spaces, post-handling
'\'', // Apostrophe
);
/**