diff options
author | Subramanya Sastry <ssastry@wikimedia.org> | 2018-03-20 20:01:55 -0500 |
---|---|---|
committer | Subramanya Sastry <ssastry@wikimedia.org> | 2018-03-23 11:42:01 -0500 |
commit | 87c7ccd9bcada35f5645e727f1524f69d0345c23 (patch) | |
tree | 78c1fbcfcd9d90b1be2736096e36f14b45b3ce0f /tests/phpunit/autoload.ide.php | |
parent | 7fd4b2b446d77f063fcde07f88216fd19381f264 (diff) | |
download | mediawikicore-87c7ccd9bcada35f5645e727f1524f69d0345c23.tar.gz mediawikicore-87c7ccd9bcada35f5645e727f1524f69d0345c23.zip |
Fix whitespace trimming in headings
* b3dd3881 was trimming whitespace in wikitext as well as HTML headings
whereas the whitespace-trimming proposal was going to leave HTML tags
untouched.
* 30495ea1 missed this because coincidentally, the test I added there
for HTML headings had a typo and used <h2>...<h2> instead of
<h2>...</h2> which caused the test to magically pass.
* This patch trims whitespace in
doHeadings (which deals with wikitext headings) instead of
formatHeadings (which deals with all headings).
* Updated parser tests to account for this.
Change-Id: I854f20b4c39a0a8e03d70155b269de77acf02cae
Diffstat (limited to 'tests/phpunit/autoload.ide.php')
0 files changed, 0 insertions, 0 deletions