mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-28 14:52:24 +09:00
Add formatter class and associated unit tests
This commit is contained in:
parent
2b008f7be6
commit
ed50a57f9c
31 changed files with 692 additions and 0 deletions
13
tests/_data/formatter/html2text.source.html
Normal file
13
tests/_data/formatter/html2text.source.html
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<p>
|
||||
This is a sample text file.<br />
|
||||
This is a paragraph with multiple lines.<br />
|
||||
This is the third line.
|
||||
</p>
|
||||
<p>
|
||||
This is another paragraph.
|
||||
</p>
|
||||
<p>
|
||||
This is a <span>SPAN</span> element that will be stripped away.<br />
|
||||
This is a <a href="foobar.html">link</a> that will be preserved.<br />
|
||||
This is an <img src="test.jpg" alt="Image Title" /> that will be preserved.<br />
|
||||
</p>
|
||||
Loading…
Add table
Add a link
Reference in a new issue