[Regression] Do not trim spaces on edit preview or show changes
authorumherirrender <umherirrender_de.wp@web.de>
Sun, 17 Feb 2013 13:39:04 +0000 (14:39 +0100)
committerGerrit Code Review <gerrit@wikimedia.org>
Mon, 18 Feb 2013 07:28:59 +0000 (07:28 +0000)
commit5a6ff4865b840840276f9f2541af1ed69de79f26
tree6bce4b3d046d6218e6bdc42e367f2a32646c8368
parentef69a2115e7be71f382e8db2eda5a0ca6fb5f196
[Regression] Do not trim spaces on edit preview or show changes

Since Ic05e5898 spaces are also trimmed on preview/show changes, which
is bad, because the autosummary "/* Header */ " gets trimmed and the
user text is direct written behind the slash. That is confusing and was
not so, before this change.

Force the trim on summary preview to have the right preview, because the
spaces are trimmed on save.

Change-Id: I0058ce31197f3ea8ffc5520f3f0f9e1bf6105066
includes/EditPage.php