Template:Blockquote paragraphs

From Dashipedia
Revision as of 13:49, 16 June 2014 by Jonathan (talk | contribs) (1 revision)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The <blockquote> element and any templates that use it do not honor newlines:

Markup Renders as
<blockquote>
Line 1
Line 2
Line 3
Line 4
</blockquote>

Line 1 Line 2 Line 3 Line 4

To work around this, use the <poem> tag inside <blockquote>, which will convert line breaks to br tags:

Markup Renders as
<blockquote><poem>
Line 1
Line 2
Line 3
Line 4
</poem></blockquote>

Line 1
Line 2
Line 3
Line 4

[create] 50px Template documentation