Add formatter class and associated unit tests

This commit is contained in:
Kijin Sung 2016-03-18 14:10:10 +09:00
parent 2b008f7be6
commit ed50a57f9c
31 changed files with 692 additions and 0 deletions

View 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>