single-line-entity-preexpansion1
<!DOCTYPE html [
<!ELEMENT html O O ANY>
<!ENTITY e "*with markdown syntax converted to html*">
]>
Test that a single entity reference on a line of it's own gets expanded:
&e
Rendered HTML
<p>Test that a single entity reference on a line of it's own gets expanded:
</p><p><em>with markdown syntax converted to html</em>
</p>
single-line-entity-preexpansion2
<!DOCTYPE html [
<!ELEMENT html O O ANY>
<!ENTITY % e SYSTEM "single-line-entity-preexpansion2.ent">
<!ENTITY e "%e">
]>
Test that a single entity reference on a line of it's own gets expanded:
&e
This is regular text following the entity reference.
Rendered HTML
<p>Test that a single entity reference on a line of it's own gets expanded:
</p><p><em>with markdown syntax converted to html</em>
</p><ul><li><p>and containing <em>multiple</em> lines with block-level markdown syntax
</p></li><li>to check if this is formatted as a list
</li></ul><p>This is regular text following the entity reference.
</p>
single-line-entity-preexpansion3
<!DOCTYPE html [
<!ELEMENT html O O ANY>
<!ENTITY e SYSTEM "single-line-entity-preexpansion3.ent">
]>
Test that a single entity reference on a line of it's own gets expanded:
&e
This is regular text following the entity reference.
Rendered HTML
<p>Test that a single entity reference on a line of it's own gets expanded:
</p><p><em>with markdown syntax converted to html</em>
</p><ul><li><p>and containing <em>multiple</em> lines with block-level markdown syntax
</p></li><li>to check if this is formatted as a list
</li></ul><p>This is regular text following the entity reference.
</p>
single-line-entity-preexpansion4
<!DOCTYPE html [
<!ELEMENT html O O ANY>
<!ENTITY e SYSTEM>
]>
Test that a single entity reference on a line of it's own gets expanded:
&e
This is regular text following the entity reference.
Rendered HTML
<p>Test that a single entity reference on a line of it's own gets expanded:
</p><p><em>with markdown syntax converted to html</em>
</p><ul><li><p>and containing <em>multiple</em> lines with block-level markdown syntax
</p></li><li>to check if this is formatted as a list
</li></ul><p>This is regular text following the entity reference.
</p>