aboutsummaryrefslogtreecommitdiff
path: root/vendor/soundasleep/html2text/src/Html2TextException.php
diff options
context:
space:
mode:
authorAndrew Dolgov <fox@fakecake.org>2023-10-21 10:51:24 +0300
committerAndrew Dolgov <fox@fakecake.org>2023-10-21 10:51:24 +0300
commit03e956132d4a4b880d4e4533aeab725b0b2b5b52 (patch)
treece23379887ece400212767f527afcba8366f018a /vendor/soundasleep/html2text/src/Html2TextException.php
parent2b61052e8709283d89997e351173bcb43a3c2c61 (diff)
switch to html2text() instead of strip_tags() when preparing FTS index
Diffstat (limited to 'vendor/soundasleep/html2text/src/Html2TextException.php')
-rw-r--r--vendor/soundasleep/html2text/src/Html2TextException.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/vendor/soundasleep/html2text/src/Html2TextException.php b/vendor/soundasleep/html2text/src/Html2TextException.php
new file mode 100644
index 000000000..fe919f357
--- /dev/null
+++ b/vendor/soundasleep/html2text/src/Html2TextException.php
@@ -0,0 +1,15 @@
+<?php
+
+namespace Soundasleep;
+
+class Html2TextException extends \Exception {
+
+ /** @var string $more_info */
+ public $more_info;
+
+ public function __construct(string $message = "", string $more_info = "") {
+ parent::__construct($message);
+ $this->more_info = $more_info;
+ }
+
+}