diff options
author | Andrew Dolgov <[email protected]> | 2023-10-18 20:14:54 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2023-10-18 20:14:54 +0300 |
commit | 9f72616818daf2b3d01a580f0eda634c08513077 (patch) | |
tree | 7fd9f598278042f485f196982eceab76fde9f336 /vendor/soundasleep/html2text/tests/html/images.html | |
parent | 89f5af62d8d6c71043eb855a333acaca333ef297 (diff) |
use html2text() instead of strip_tags() when making FTS indexes
Diffstat (limited to 'vendor/soundasleep/html2text/tests/html/images.html')
-rw-r--r-- | vendor/soundasleep/html2text/tests/html/images.html | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/vendor/soundasleep/html2text/tests/html/images.html b/vendor/soundasleep/html2text/tests/html/images.html new file mode 100644 index 000000000..1f360e9e2 --- /dev/null +++ b/vendor/soundasleep/html2text/tests/html/images.html @@ -0,0 +1,54 @@ +<body> + <p> + One: <img src="one.png"> + </p> + + <p> + Two: <img src="two.png" alt="two"> + </p> + + <p> + Three: <img src="three.png" title="three"> + </p> + + <p> + Four: <img src="four.png" title="four" alt="four alt"> + </p> + + <h1>With links</h1> + + <p> + One: <a href="http://localhost"><img src="one.png"></a> + </p> + + <p> + Two: <a href="http://localhost"><img src="two.png" alt="two"></a> + </p> + + <p> + Three: <a href="http://localhost"><img src="three.png" title="three"></a> + </p> + + <p> + Four: <a href="http://localhost"><img src="four.png" title="four" alt="four alt"></a> + </p> + + <h1>With links with titles</h1> + + <p> + One: <a href="http://localhost" title="one link"><img src="one.png"></a> + </p> + + <p> + Two: <a href="http://localhost" title="two link"><img src="two.png" alt="two"></a> + </p> + + <p> + Three: <a href="http://localhost" title="three link"><img src="three.png" title="three"></a> + </p> + + <p> + Four: <a href="http://localhost" title="four link"><img src="four.png" title="four" alt="four alt"></a> + </p> +</body> +</html>
\ No newline at end of file |