adding a parsing link test

This commit is contained in:
Simon Petit 2024-11-16 00:01:20 +01:00
parent 6441bfdc78
commit dc591b29bb

View File

@ -104,6 +104,11 @@ declare -a tests=(
$'First paragraph\n\n code1\n code2\n\nSecond paragraph'
"<p>First paragraph</p><pre><code>code1code2</code></pre><p>Second paragraph</p>"
"Link 1"
"This is a [link](https://www.google.com) to google"
"<p>This is a <a href=\"https://www.google.com\">link</a> to google</p>"
# You can add more test cases following the same format...
)