Page MenuHomePhabricator

Blank lines in visual mode not stripped
Closed, ResolvedPublic

Description

Reported here: https://w.wiki/RaC

We strip blank lines in source mode.

If you enter:
Foo
<blankline>
Bar

in visual mode, we should serialize to

::Foo
::Bar

not

::Foo
::
::Bar

Event Timeline

Esanders created this task.May 22 2020, 5:18 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMay 22 2020, 5:18 PM

Change 598084 had a related patch set uploaded (by Esanders; owner: Esanders):
[mediawiki/extensions/DiscussionTools@master] Remove empty lines in visual mode too

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

Change 598084 merged by jenkins-bot:
[mediawiki/extensions/DiscussionTools@master] Remove empty lines in visual mode too

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

ppelberg closed this task as Resolved.Jun 1 2020, 1:31 AM