-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #107 – postgenerator fails when ~ in middle of wblanked word
There was already support for [[w:text:foo]]~zzy[[/]] but not for [[w:text:foo]]xy~zzy[[/]] This change should keep the old feature of moving wblank-start after the post-generated part of [[w:text:foo]]~zzy[[/]] (so if there was a rule turning ~z into Z we get Z[[w:text:foo]]zy[[/]]), but if the wake-up-mark ~ is seen later in the wblank, it stays surrounded, so [[w:text:foo]]xy~zzy[[/]] turns into [[w:text:foo]]xyZzy[[/]]. + tests for #107 + necessary changes for combineWblanks (can now get called when no opening wblanks in queue)
- Loading branch information
Showing
4 changed files
with
54 additions
and
22 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -92,6 +92,8 @@ | |
</p> | ||
</e> | ||
|
||
<e><p><l><a/>sss</l><r>ss</r></p></e> | ||
|
||
</section> | ||
|
||
</dictionary> | ||
|
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