diff --git a/lib/html2text/Html2Text.php b/lib/html2text/Html2Text.php
index 5001b2ffd60..f279879d6f8 100644
--- a/lib/html2text/Html2Text.php
+++ b/lib/html2text/Html2Text.php
@@ -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
);
/**
diff --git a/lib/thirdpartylibs.xml b/lib/thirdpartylibs.xml
index 85d046baea2..e67a130b49c 100644
--- a/lib/thirdpartylibs.xml
+++ b/lib/thirdpartylibs.xml
@@ -172,7 +172,7 @@
html2text
HTML2Text
GPL
- 4.1.0
+ 4.2.1
2.0+