Page MenuHomePhabricator

Visual diff does not display preformatted text correctly
Closed, ResolvedPublic

Description

When adding new blocks of preformatted text (in a <pre>), the visual diff displays line breaks as symbols rather than as actual line breaks.

https://test.wikipedia.org/w/index.php?title=User:Catrope&type=revision&diff=462981&oldid=462980&diffmode=visual

Screenshot from 2021-01-04 17-56-21.png (163×582 px, 24 KB)

Event Timeline

Change 655788 had a related patch set uploaded (by Esanders; owner: Esanders):
[VisualEditor/VisualEditor@master] Don't do whitespace substitutions in hasSignificantWhitespace nodes

https://gerrit.wikimedia.org/r/655788

Change 655788 merged by jenkins-bot:
[VisualEditor/VisualEditor@master] Don't do whitespace substitutions in hasSignificantWhitespace nodes

https://gerrit.wikimedia.org/r/655788

Change 655922 had a related patch set uploaded (by Bartosz Dziewoński; owner: Bartosz Dziewoński):
[mediawiki/extensions/VisualEditor@master] Update VE core submodule to master (ad72a726d)

https://gerrit.wikimedia.org/r/655922

Change 655922 merged by jenkins-bot:
[mediawiki/extensions/VisualEditor@master] Update VE core submodule to master (ad72a726d)

https://gerrit.wikimedia.org/r/655922

ppelberg claimed this task.