From 4d4e14372fe680b435ae3cc7223c8b2e47d476a3 Mon Sep 17 00:00:00 2001 From: Arlo Breault Date: Tue, 28 Apr 2020 13:35:45 -0400 Subject: Move french space armoring after doBlockLevels This was moved before doBlockLevels in c23cb2c when it used to be a more general cleanup that conflicted with it. Since 02ff859 that no longer seems necessary. Further, this gives the consistency of armoring inside wikilinks and avoids some unnecessary row definition list colons being armored. Maybe this should be moved to the end of internalParseHalfParsed after language conversion but before tidying, where the other call to the sanitizer happens, Sanitizer::normalizeCharReferences. But let's change things one step at a time and start by moving it here before we try to move it further. The goal here being to make french space armoring a post-processing step, rather than an intermediate transformation, more consistent with how Parsoid will/wants to do it. Bug: T197879 Change-Id: I3eae3719ab8fb50b7996d4fd8a9fa0d5ca250023 --- tests/parser/parserTests.txt | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'tests/parser') diff --git a/tests/parser/parserTests.txt b/tests/parser/parserTests.txt index dc3a06b5611f..04fc6b2e6b6a 100644 --- a/tests/parser/parserTests.txt +++ b/tests/parser/parserTests.txt @@ -4662,9 +4662,9 @@ Definition Lists: Mixed Lists: Test 13 *#*#;*;;foo : bar *#*#;boo : baz !! html+tidy -