Last modified: 2013-07-04 10:33:39 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 T51929, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 49929 - Paragraphs with leading whitespace other than one space become preformatted text on saving, rather than <nowiki>'ed whitespace
Paragraphs with leading whitespace other than one space become preformatted t...
Status: RESOLVED FIXED
Product: Parsoid
Classification: Unclassified
General (Other open bugs)
unspecified
All All
: Normal normal
: ---
Assigned To: ssastry
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-21 05:16 UTC by Steven Walling
Modified: 2013-07-04 10:33 UTC (History)
5 users (show)

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


Attachments

Description Steven Walling 2013-06-21 05:16:31 UTC
Indenting a block of text three spaces in VE produces preformatted text after saving, but this formatting is not shown in edit mode.
Comment 1 James Forrester 2013-06-23 19:34:20 UTC
This is a bit concerning; somehow something is 'helpfully' thinking to interpret these as <pre>s rather than <p>s, which shouldn't happen.
Comment 2 Ed Sanders 2013-06-23 19:51:34 UTC
<p>  Foo</p>

serialises to:

  Foo

instead of <nowiki>ing
Comment 3 James Forrester 2013-06-23 19:55:41 UTC
Parsoid issue; input HTML:

| <p>Foo</p>
| <p> Bar</p>
| <p>  Baz</p>
| <p>   Bang</p>
| <p>	Boom</p> (tab)

->

| Foo
|
| <nowiki> Bar</nowiki>
|
|  Baz
|
|   Bang
|	Boom

First two are correct, rest are not. Presumably checking for " " rather than "\w+"?
Comment 4 Gerrit Notification Bot 2013-06-23 20:26:13 UTC
Related URL: https://gerrit.wikimedia.org/r/70091 (Gerrit Change I925d8ded2da16e0bd107fde77d58beff2aac3782)
Comment 5 Gerrit Notification Bot 2013-06-24 16:14:46 UTC
https://gerrit.wikimedia.org/r/70091 (Gerrit Change I925d8ded2da16e0bd107fde77d58beff2aac3782) | change APPROVED and MERGED [by jenkins-bot]
Comment 6 ssastry 2013-06-24 20:47:53 UTC
Should be resolved.  Please reopen if problems remain.
Comment 7 Andre Klapper 2013-07-04 10:33:39 UTC
[Parsoid component reorg by merging JS/General and General. See bug 50685 for more information. Filter bugmail on this comment. parsoidreorg20130704]

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


Navigation
Links