User:Mikelietz/autop test cases

From Habari Project

Jump to: navigation, search

Sample HTML and plaintext inputs, and HTML outputs for autop()

Feel free to contribute! (See: http://trac.habariproject.org/habari/browser/branches/090214-autoptoken/tests/data/autop)

INPUT OUTPUT
First paragraph.
 
Second paragraph, first sentence. Second paragraph second sentence.
Second paragraph third sentence (after a line break).
<p>First paragraph.</p><p>Second paragraph, first sentence. Second paragraph second sentence.<br>Second paragraph third sentence (after a line break).</p>
<pre>
Easy caramel biscuit ring
 
1/3 cup  firmly packed brown sugar
3 TBsp.  butter or margarine
1 TBsp.  water
1/2 tsp. cinnamon
1 8oz. 	 can of refrigerator biscuits
1/3 cup  chopped nuts (<b>optional</b>)
 
     On glass or microwave round 8" dish, combine
sugar, butter, water and cinnamon. Cook for one
minute. Stir. (Add nuts) Separate can of biscuits
and cut each biscuit into quarters with clean 
scissors or shears. Add biscuits to sugar mixture,
and stir to coat each piece. Push biscuits away 
from center and set a glass or custard cup in
center. Cook 1½ minutes. Turn dish. Cook 1½ minutes.
Remove glass, turn ring into a serving dish. Serve.
</pre>
<pre>
Easy caramel biscuit ring
 
1/3 cup  firmly packed brown sugar
3 TBsp.  butter or margarine
1 TBsp.  water
1/2 tsp. cinnamon
1 8oz. 	 can of refrigerator biscuits
1/3 cup  chopped nuts (<b>optional</b>)
 
     On glass or microwave round 8" dish, combine
sugar, butter, water and cinnamon. Cook for one
minute. Stir. (Add nuts) Separate can of biscuits
and cut each biscuit into quarters with clean 
scissors or shears. Add biscuits to sugar mixture,
and stir to coat each piece. Push biscuits away 
from center and set a glass or custard cup in
center. Cook 1½ minutes. Turn dish. Cook 1½ minutes.
Remove glass, turn ring into a serving dish. Serve.
</pre>
    <table id="table1">
        <tr>
            <th>Number</th>
            <th>Description</th>
        </tr>
        <tr>
            <td>5</td>
            <td>Bicycle Tires</td>
        </tr>
    </table>
<table id="table1"><tr><th>Number</th><th>Description</th></tr><tr><td>5</td><td>Bicycle Tires</td></tr></table>
Nunc at augue id erat vehicula mattis. Ut pharetra molestie turpis. Etiam in sem in lectus condimentum aliquet. Sed sodales, massa ac dignissim fringilla, erat sapien varius eros, in imperdiet mauris lectus et ligula. Integer risus nibh, ornare eget, interdum in, pulvinar vitae, arcu.
 
<ul>
<li>An</li>
<li>Unordered</li>
<li>List</li>
</ul>
 
Praesent suscipit turpis quis felis. Donec et orci. Nunc id enim. Morbi in augue ut purus pellentesque feugiat. Nullam nulla pede, tempus nonummy, pellentesque vel, tempus vel, dolor. Sed id diam. Donec lobortis malesuada enim. Curabitur eu diam in orci laoreet bibendum. 
 
<ol>
<li>An</li>
<li>Unordered</li>
<li>List<ul><li>With a list</li><li>in it</li></ul></li>
</ol>
 
Nunc at augue id erat vehicula mattis. Ut pharetra molestie turpis. Etiam in sem in lectus condimentum aliquet. Sed sodales, massa ac dignissim fringilla, erat sapien varius eros, in imperdiet mauris lectus et ligula. Integer risus nibh, ornare eget, interdum in, pulvinar vitae, arcu.
<p>Nunc at augue id erat vehicula mattis. Ut pharetra molestie turpis. Etiam in sem in lectus condimentum aliquet. Sed sodales, massa ac dignissim fringilla, erat sapien varius eros, in imperdiet mauris lectus et ligula. Integer risus nibh, ornare eget, interdum in, pulvinar vitae, arcu.</p>
<ul>
<li>An</li>
<li>Unordered</li>
<li>List</li>
</ul>
<p>Praesent suscipit turpis quis felis. Donec et orci. Nunc id enim. Morbi in augue ut purus pellentesque feugiat. Nullam nulla pede, tempus nonummy, pellentesque vel, tempus vel, dolor. Sed id diam. Donec lobortis malesuada enim. Curabitur eu diam in orci laoreet bibendum.</p>
<ol>
<li>An</li>
<li>Unordered</li>
<li>List<ul><li>With a list</li><li>in it</li></ul></li>
</ol>
<p>Nunc at augue id erat vehicula mattis. Ut pharetra molestie turpis. Etiam in sem in lectus condimentum aliquet. Sed sodales, massa ac dignissim fringilla, erat sapien varius eros, in imperdiet mauris lectus et ligula. Integer risus nibh, ornare eget, interdum in, pulvinar vitae, arcu.</p>
Personal tools