nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e2821a
)
text: escape_to_mk should not escape =
author
Alexis Laferrière
<alexis.laf@xymus.net>
Wed, 6 Jun 2018 17:17:05 +0000
(13:17 -0400)
committer
Alexis Laferrière
<alexis.laf@xymus.net>
Wed, 6 Jun 2018 17:23:19 +0000
(13:23 -0400)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/core/text/abstract_text.nit
patch
|
blob
|
history
diff --git
a/lib/core/text/abstract_text.nit
b/lib/core/text/abstract_text.nit
index
38f3e49
..
351da66
100644
(file)
--- a/
lib/core/text/abstract_text.nit
+++ b/
lib/core/text/abstract_text.nit
@@
-794,7
+794,7
@@
abstract class Text
else if c == ':' or c == ' ' or c == '#' then
b.add('\\')
b.add(c)
- else if c.code_point < 32 or c == ';' or c == '|' or c == '\\' or c == '=' then
+ else if c.code_point < 32 or c == ';' or c == '|' or c == '\\' then
b.append("?{c.code_point.to_base(16)}")
else
b.add(c)