From 1e3449ca28e94f556cbb4caae7aa7b6f40080056 Mon Sep 17 00:00:00 2001 From: Paul Holden Date: Wed, 25 Nov 2020 21:35:14 +0000 Subject: [PATCH] MDL-70295 libraries: upgrade to version 4.3.1 of Html2Text. --- lib/html2text/Html2Text.php | 61 ++++++++++++++++++++++++--------- lib/html2text/readme_moodle.txt | 9 ++--- lib/thirdpartylibs.xml | 2 +- 3 files changed, 50 insertions(+), 22 deletions(-) diff --git a/lib/html2text/Html2Text.php b/lib/html2text/Html2Text.php index f279879d6f8..9fd91235927 100644 --- a/lib/html2text/Html2Text.php +++ b/lib/html2text/Html2Text.php @@ -28,14 +28,14 @@ class Html2Text /** * Contains the HTML content to convert. * - * @type string + * @var string $html */ protected $html; /** * Contains the converted, formatted text. * - * @type string + * @var string $text */ protected $text; @@ -43,7 +43,7 @@ class Html2Text * List of preg* regular expression patterns to search for, * used in conjunction with $replace. * - * @type array + * @var array $search * @see $replace */ protected $search = array( @@ -54,6 +54,7 @@ class Html2Text '/]*>.*?<\/style>/i', //