Last modified: 2013-08-06 16:58:33 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 1857 - Paragraphs not respected within <blockquote>
Paragraphs not respected within <blockquote>
Status: RESOLVED DUPLICATE of bug 6200
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
All All
: Normal normal with 2 votes (vote)
: ---
Assigned To: C. Scott Ananian
Depends on:
  Show dependency treegraph
Reported: 2005-04-10 01:42 UTC by Joost R. Meerten
Modified: 2013-08-06 16:58 UTC (History)
1 user (show)

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


Description Joost R. Meerten 2005-04-10 01:42:36 UTC
Within <blockquote>, paragraph breaks are not respected and all text is output
as a single paragraph instead. This makes it practically mandatory to break them
up and use the : syntax for indenting, losing the semantic info that a single
quote is presented.

For example,

   Lorem ipsum dolor sit amet.
   Lorem ipsum dolor sit amet.


   <p>Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet.</p>

Rather than:

   <p>Lorem ipsum dolor sit amet.</p>
   <p>Lorem ipsum dolor sit amet.</p>

Paragraph tags can be added manually, but this should not be necessary.
Comment 1 Antoine "hashar" Musso (WMF) 2005-09-02 20:10:47 UTC
<blockquote> element does not format text like the <pre> element
so you have to use <br /> to break lines.

The <p> elements are added by tidy and the actuall output works
as expected (aka removing useless carriage return).
Comment 2 Joost R. Meerten 2005-09-02 20:28:47 UTC
That's fine for HTML, but wiki syntax actually relies on these "useless carriage
returns" to produce paragraphs. Unlike HTML, they are not redundant. I
understand how this would be classified "not a bug", but it violates the
principle of least astonishment. Entering:

    This is not one paragraph.

    It's two.


    <p>This is not one paragraph.</p>
    <p>It's two.</p>

When the text is *not* within <blockquote>. What is expected is not the removal
of whitespace but the automatic conversion of lines separated by two newlines to
paragraphs. It seems odd that we would require people to know about the oddities
of HTML/SGML in such cases when we go to pains to conceal them at other points.
Comment 3 Michael Zajac 2006-10-23 06:00:03 UTC
How does this relate to Bug 6200?  Did that patch fix this bug?
Comment 4 Aryeh Gregor (not reading bugmail, please e-mail directly) 2006-10-23 06:01:15 UTC
Dunno why Hashar marked this FIXED.

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

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