summaryrefslogtreecommitdiff
path: root/vendor/soundasleep/html2text/tests/html/newlines.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/newlines.html
parent89f5af62d8d6c71043eb855a333acaca333ef297 (diff)
use html2text() instead of strip_tags() when making FTS indexes
Diffstat (limited to 'vendor/soundasleep/html2text/tests/html/newlines.html')
-rw-r--r--vendor/soundasleep/html2text/tests/html/newlines.html50
1 files changed, 50 insertions, 0 deletions
diff --git a/vendor/soundasleep/html2text/tests/html/newlines.html b/vendor/soundasleep/html2text/tests/html/newlines.html
new file mode 100644
index 000000000..e3fbbeea3
--- /dev/null
+++ b/vendor/soundasleep/html2text/tests/html/newlines.html
@@ -0,0 +1,50 @@
+<html>
+<body>
+<div>
+Hello
+<br>
+</div>
+<div>
+How are you?
+<br>
+</div>
+
+<p>
+How are you?
+<br>
+</p>
+
+<p>
+How are you?
+<br>
+</p>
+
+<div>
+Just two divs
+</div>
+<div>
+Hanging out
+</div>
+
+This is not the end!
+<div>
+How are you again?
+<br>
+</div>
+This is the end!
+<br>
+Just kidding
+<h1>Header 1</h1>
+Some text
+<hr>
+Some more text
+<p>Paragraph tag!</p>
+<h2>Header 2</h2>
+<hr>
+<h3>Header 3</h3>
+Some text
+<h4>Header 4</h4>
+<p>Paragraph tag!</p>
+Final line
+</body>
+</html> \ No newline at end of file