INPUT TEXT

<div style="color: #ff0000;">This is some text. <span style="color: #008000;">This is another text inside div</span> and this is an image with title: <img src="http://some-link.com/dir1/dir/2/dir/3uploads/2019/some-image-name.jpg" title="This is image title. This title is composed of more than once sentense. This is a pircure of an object." alt="This is alt tag. It has 2 sentences." /></div> <p>And now comes a list without punctuation marks:</p> <ul> <li class="list-item">Item 1 text without any punctuation marks</li> <li class="list-item" style="color: #0000ff;">Item 2 text without any punctuation marks</li> <li class="list-item">Item 3 text without any punctuation marks</li> <li class="list-item">Item 4 text without any punctuation marks</li> <li class="list-item">Item 5 text without any punctuation marks</li> </ul>.

RESULT FUNCTION 500


RESULT: <div style="color: #ff0000;">This is some text. <span style="color: #008000;">This is another text inside div</span> and this is an image with title: <img src="http://some-link.com/dir1/dir/2/dir/3uploads/2019/some-image-name.jpg" title="This is image title. This title is composed of more than once sentense. This is a pircure of an object." alt="This is alt tag. It has 2 sentences." /></div> <p>And now comes a list without punctuation marks:</p>

RESULT: <ul punctuation marks</li> <li class="list-item" style="color: #0000ff;">Item 2 text without any punctuation marks</li> <li class="list-item">Item 3 text without any punctuation marks</li> <li class="list-item">Item 4 text without any punctuation marks</li> <li class="list-item">Item 5 text without any punctuation marks</li>

RESULT: </ul>.