GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Edit Task
  • Edit Related Tasks...
  • Create Subtask
  • Edit Parent Tasks
  • Edit Subtasks
  • Merge Duplicates In
  • Close As Duplicate
  • Edit Commits
  • Edit Mocks
  • Mute Notifications
  • Protect as security issue
  • WMSE-Bug-Reporting-and-Translation-2022
  • (Reported bugs)
  • MediaWiki-Parser

This view

  • Original page
  • New address

GeezerVison is showing phabricator.wikimedia.org — T309778 Two paragraphs in a <blockquote> is rendered as one

Page MenuHomePhabricator
Log In
Create Task
Maniphest T309778

Two paragraphs in a <blockquote> is rendered as one
Open, Needs TriagePublicBUG REPORT
Actions

  • Edit Task
  • Edit Related Tasks...
  • Create Subtask
  • Edit Parent Tasks
  • Edit Subtasks
  • Merge Duplicates In
  • Close As Duplicate
  • Edit Related Objects...
  • Edit Commits
  • Edit Mocks
  • Mute Notifications
  • Protect as security issue
Assigned To
None
Authored By
Sebastian_Berlin-WMSE
Jun 2 2022, 11:55 AM2022-06-02 11:55:17 (UTC+0)
Project Tags
  • WMSE-Bug-Reporting-and-Translation-2022 (Reported bugs)
  • MediaWiki-Parser (Backlog)
Referenced Files
None
Subscribers
Christian1985
matmarex
mykhal
Sebastian_Berlin-WMSE
Tacsipacsi

Description

Steps to reproduce:

  1. Edit a page.
  2. Add a <blockquote> tag with two paragraphs in it, with empty line between.
  3. Save.

Actual result:
The HTML contains one paragraph.

Expected result:
The HTML contains two paragraph.

Additional information:
I did some tests over at https://www.mediawiki.org/wiki/User:Sebastian_Berlin_(WMSE)/T309778 with different ways of making two paragraphs. The way that I got to work was to explicitly add <p> tags.

Related Objects

  • Mentions
Mentioned In
T382267: Math block inside a {{blockquote}} render in display style in MathML and Client side MathJax
Mentioned Here
T8200: Linebreaks are mishandled in <blockquote> and <li>

Event Timeline

Sebastian_Berlin-WMSE created this task.Jun 2 2022, 11:55 AM2022-06-02 11:55:17 (UTC+0)
Sebastian_Berlin-WMSE updated the task description. (Show Details)
Sebastian_Berlin-WMSE moved this task from Backlog to Reported bugs on the WMSE-Bug-Reporting-and-Translation-2022 board.
matmarex edited projects, added: MediaWiki-Parser; removed: MediaWiki-General.Jun 2 2022, 2:57 PM2022-06-02 14:57:47 (UTC+0)
matmarex subscribed.
Comment Actions

FYI, another reliable way to achieve this is to put the <blockquote> and </blockquote> tags on their own lines: https://www.mediawiki.org/w/index.php?title=User:Sebastian_Berlin_(WMSE)/T309778&diff=5248625&oldid=5248456

The paragraph wrapping is unintuitive, but it probably can't be changed to avoid breaking existing content that accidentally relies on it.

Sebastian_Berlin-WMSE added a comment.Jun 3 2022, 9:33 AM2022-06-03 09:33:59 (UTC+0)
Comment Actions

Thanks for the work around. I added a note on https://www.mediawiki.org/wiki/Help:Formatting#HTML_tags.

Izno subscribed.Jun 3 2022, 5:53 PM2022-06-03 17:53:28 (UTC+0)
Comment Actions

This is ancient behavior. T8200: Linebreaks are mishandled in <blockquote> and <li> and linked tasks look pertinent.

Izno unsubscribed.Jun 3 2022, 5:53 PM2022-06-03 17:53:33 (UTC+0)
Tacsipacsi changed the subtype of this task from "Task" to "Bug Report".Jun 5 2022, 7:52 AM2022-06-05 07:52:59 (UTC+0)
Tacsipacsi subscribed.
Comment Actions

Maybe a lint error could be added for this case? First, it’s more likely to be unintended than intended, so it’s useful for users to know; second, if there’s a lint error, the violation count can be used to make an informed decision about changing the behavior.

mykhal subscribed.Feb 15 2026, 8:11 PM2026-02-15 20:11:32 (UTC+0)
Physikerwelt mentioned this in T382267: Math block inside a {{blockquote}} render in display style in MathML and Client side MathJax.Mar 19 2026, 8:50 PM2026-03-19 20:50:04 (UTC+0)
Christian1985 subscribed.Mar 19 2026, 8:51 PM2026-03-19 20:51:37 (UTC+0)
Log In to Comment
Content licensed under Creative Commons Attribution-ShareAlike (CC BY-SA) 4.0 unless otherwise noted; code licensed under GNU General Public License (GPL) 2.0 or later and other open source licenses. By using this site, you agree to the Terms of Use, Privacy Policy, and Code of Conduct. · Wikimedia Foundation · Privacy Policy · Code of Conduct · Terms of Use · Disclaimer · CC-BY-SA · GPL · Credits
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.