Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Minimize whitespace dirty diffs in existing headings, tables, lists
* For existing and edited headings, tables, lists, this patch examines the original source for the node and where there is leading/trailing whitespace, adds back at most 1 whitespace char. * So, this doesn't preserve all whitespace or avoid all normalization. * this doesn't look for comments or other rendering transparent nodes. * this doesn't try to preserve multiple whitespace characters * this doesn't try to preserve trailing whitepace for a <td>/<th> that is the last element in a wikitext line. * The blacklist changes are all improvements. Bug: T195486 Change-Id: Ib571806a765e7306e1dbbf26c293998030aff0c1
- Loading branch information
Showing
5 changed files
with
116 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.