Page MenuHomePhabricator

template variables ignore linebreaks
Closed, ResolvedPublic

Description

Author: morten

Description:
When including a template with a longer text-variable, separated with line breaks, the
line breaks are ignored when the template is rendered.

{{Template_Quote|Quote of someone saying... bla bla

New paragraph.. bla bla|Author's name}}

I haven't been able to find a bug reporting this, so I'll create a new one.

I don't know if this is a deliberate feature or if there is a proper template workaround,
without adding excessive <p></p> tags around each paragraph (this works as a workaround,
although not a very smart one).


Version: 1.7.x
Severity: normal
OS: Windows XP
Platform: PC

Details

Reference
bz7262

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:24 PM
bzimport set Reference to bz7262.
bzimport added a subscriber: Unknown Object (MLST).

ayg wrote:

The error is with <blockquote>, not templates.

*** This bug has been marked as a duplicate of 6200 ***

morten wrote:

Alright, thanks. Didn't figure that out.