Page MenuHomePhabricator

Allow paragraphs in references (Cite.php)
Closed, DuplicatePublic

Description

I would like to be able to have long texts including paragraphs in footnotes. But the function referenceText in Cite.php removes all line breaks using rtrim( $text, "\n" ).

Would it be possible to skip this function through an option, a hook or anything?

Event Timeline

Hi @Jiou7, thanks for taking the time to report this and welcome to Wikimedia Phabricator!
This request is not about Requests for new MediaWiki extensions, hence removing MediaWiki-extension-requests.

See also T49544,

<p> ... </p>

Inside a span is as I understood it bad nesting per HTML rules as I understood it, hence stripping the P tags might be necessary to help ensure well formed code?

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy