summaryrefslogtreecommitdiff
path: root/vendor/soundasleep/html2text/tests/html/anchors.html
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2023-10-18 20:14:54 +0300
committerAndrew Dolgov <[email protected]>2023-10-18 20:14:54 +0300
commit9f72616818daf2b3d01a580f0eda634c08513077 (patch)
tree7fd9f598278042f485f196982eceab76fde9f336 /vendor/soundasleep/html2text/tests/html/anchors.html
parent89f5af62d8d6c71043eb855a333acaca333ef297 (diff)
use html2text() instead of strip_tags() when making FTS indexes
Diffstat (limited to 'vendor/soundasleep/html2text/tests/html/anchors.html')
-rw-r--r--vendor/soundasleep/html2text/tests/html/anchors.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/vendor/soundasleep/html2text/tests/html/anchors.html b/vendor/soundasleep/html2text/tests/html/anchors.html
new file mode 100644
index 000000000..61dffa0d1
--- /dev/null
+++ b/vendor/soundasleep/html2text/tests/html/anchors.html
@@ -0,0 +1,12 @@
+A document without any HTML open/closing tags.
+
+<hr>
+
+We try and use the representation given by common browsers of the
+HTML document, so that it looks similar when converted to plain text.
+
+<a href="http://foo.com">visit foo.com</a> - or <a href="http://www.foo.com">http://www.foo.com</a>
+
+<a href="http://foo.com" title="a link with a title">link</a>
+
+<h2><a name="anchor">An anchor which will not appear</a></h2>