From 9f72616818daf2b3d01a580f0eda634c08513077 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 18 Oct 2023 20:14:54 +0300 Subject: use html2text() instead of strip_tags() when making FTS indexes --- .../soundasleep/html2text/tests/txt/full_email.txt | 53 ++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 vendor/soundasleep/html2text/tests/txt/full_email.txt (limited to 'vendor/soundasleep/html2text/tests/txt/full_email.txt') diff --git a/vendor/soundasleep/html2text/tests/txt/full_email.txt b/vendor/soundasleep/html2text/tests/txt/full_email.txt new file mode 100644 index 000000000..1b464c596 --- /dev/null +++ b/vendor/soundasleep/html2text/tests/txt/full_email.txt @@ -0,0 +1,53 @@ +http://localhost/home 16 December 2015 +Account 123 + +Hi Susan + +Here is your cat report. + +You have found 5 cats less than anyone else +[Find more cats](http://localhost/cats) + +Down the road + +Across the hall + +Your achievements + +You're currently finding about +12 cats +per day + +[Number of cats found] +--------------------------------------------------------------- + +Your last cat was found two days ago. + +One type of cat is a kitten. + +Special account A1 + +12.345 + +http://localhost/logout + +How can you find more cats? + +Look in trash cans + +Start meowing + +Eat cat food + +Some cats like to hang out in trash cans. Some cats do not. Some cats are attracted to similar tones. So one day your tears may smell like cat food, attracting more cats. +https://localhost/about https://localhost/about https://localhost/about +[Cats are great.](https://github.com/soundasleep/html2text_ruby) [Find more cats.](https://github.com/soundasleep/html2text_ruby) [Do more things.](https://github.com/soundasleep/html2text_ruby) + +[Contact us](http://localhost/contact) + +cats@cats.com +Monday and Friday + +https://github.com/soundasleep/html2text https://github.com/soundasleep/html2text_ruby + +Having trouble seeing this email? [View it online](http://localhost/view_it_online). \ No newline at end of file -- cgit v1.2.3