Last modified: 2010-05-15 15:41:06 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T9262, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 7262 - template variables ignore linebreaks
template variables ignore linebreaks
Status: RESOLVED DUPLICATE of bug 6200
Product: MediaWiki
Classification: Unclassified
Templates (Other open bugs)
1.7.x
PC Windows XP
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-09-07 21:20 UTC by Morten Blaabjerg
Modified: 2010-05-15 15:41 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Morten Blaabjerg 2006-09-07 21:20:42 UTC
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).
Comment 1 Aryeh Gregor (not reading bugmail, please e-mail directly) 2006-09-07 21:24:32 UTC
The error is with <blockquote>, not templates.

*** This bug has been marked as a duplicate of 6200 ***
Comment 2 Morten Blaabjerg 2006-09-07 21:40:32 UTC
Alright, thanks. Didn't figure that out.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links