MDL-65752 lib: Update html2text to 4.2.1
authorMathew May <mathewm@hotmail.co.nz>
Wed, 12 Jun 2019 00:58:26 +0000 (08:58 +0800)
committerMathew May <mathewm@hotmail.co.nz>
Wed, 12 Jun 2019 00:58:26 +0000 (08:58 +0800)
lib/html2text/Html2Text.php
lib/thirdpartylibs.xml

index 5001b2f..f279879 100644 (file)
@@ -112,6 +112,7 @@ class Html2Text
         '/&#151;/i',                                     // m-dash in win-1252
         '/&(amp|#38);/i',                                // Ampersand: see converter()
         '/[ ]{2,}/',                                     // Runs of spaces, post-handling
+        '/&#39;/i',                                      // The apostrophe symbol
     );
 
     /**
@@ -125,6 +126,7 @@ class Html2Text
         '—',         // m-dash
         '|+|amp|+|', // Ampersand: see converter()
         ' ',         // Runs of spaces, post-handling
+        '\'',        // Apostrophe
     );
 
     /**
index 85d046b..e67a130 100644 (file)
     <location>html2text</location>
     <name>HTML2Text</name>
     <license>GPL</license>
-    <version>4.1.0</version>
+    <version>4.2.1</version>
     <licenseversion>2.0+</licenseversion>
   </library>
   <library>