Actions
Feature #24662
openAdd option to remove trailing whitespace on saving wiki pages
Feature #24662:
Add option to remove trailing whitespace on saving wiki pages
Status:
New
Priority:
Normal
Assignee:
-
Category:
Text formatting
Target version:
-
Resolution:
Description
Formatting non-trivial tables with many rows and columns in Textile is very prone to formatting errors when trailing whitespace is inserted unintentionally after the trailing pipe symbol "|".
To illustrate this consieder the following table
If written as intended without trailing whitespace everything looks good, ...
| row | A | B |
|---|---|---|
| 1 | a1 | b1 |
| 2 | a2 | b2 |
| 3 | a3 | b3 |
... but the layout is destroyed when trailing whitespace is added (unintentionally) at the end of the second row:
| row | A | B |
|---|---|---|
| 1 | a1 | b1 |
| 2 | a2 | b2 |
| 3 | a3 | b3 |
Since I cannot figure out real use cases for meaningful trailing whitespaces, I would suggest to add an checkbox
near the "Save" and "Preview" buttons when editing a wiki page.
Actions