Difference between revisions of "Template:Blockquote paragraphs"

From Dashipedia
Jump to navigation Jump to search
(Br is not a paragraph)
 
m (1 revision)
 
(No difference)

Latest revision as of 13:49, 16 June 2014

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