Description
Resolver: Whatever the number of backslashes, it escape the following character even if the backslash itself is actually escaped by a backslash. Said another way, there is no escaping handling of the escaping character itself.
Backslashes number should be taken into account and only an odd number of backslashes is supposed to escape. Also backslashes should be systematically unescaped/escaped.
Serializer: the serializer follows the same "rule" and does not escape backslashes.
Here is a demonstrative use case showing the issue (serialize and then parse):
- wiki space\ page -> wiki:space\.page -> defaultwiki defaultspace wikispacepage