From 03e956132d4a4b880d4e4533aeab725b0b2b5b52 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 21 Oct 2023 10:51:24 +0300 Subject: switch to html2text() instead of strip_tags() when preparing FTS index --- .../soundasleep/html2text/tests/txt/newlines.txt | 35 ++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 vendor/soundasleep/html2text/tests/txt/newlines.txt (limited to 'vendor/soundasleep/html2text/tests/txt/newlines.txt') diff --git a/vendor/soundasleep/html2text/tests/txt/newlines.txt b/vendor/soundasleep/html2text/tests/txt/newlines.txt new file mode 100644 index 000000000..08f09f8cb --- /dev/null +++ b/vendor/soundasleep/html2text/tests/txt/newlines.txt @@ -0,0 +1,35 @@ +Hello +How are you? + +How are you? + +How are you? + +Just two divs +Hanging out +This is not the end! +How are you again? +This is the end! +Just kidding + +Header 1 + +Some text +--------------------------------------------------------------- +Some more text + +Paragraph tag! + +Header 2 + +--------------------------------------------------------------- + +Header 3 + +Some text + +Header 4 + +Paragraph tag! + +Final line \ No newline at end of file -- cgit v1.2.3