Spaces:
Runtime error
Runtime error
shlomihod
commited on
Commit
·
e9534f2
1
Parent(s):
09febb6
add # to markdown escaping
Browse files
app.py
CHANGED
@@ -140,6 +140,7 @@ def escape_markdown(text):
|
|
140 |
"`": r"\`",
|
141 |
">": r"\>",
|
142 |
"|": r"\|",
|
|
|
143 |
}
|
144 |
return "".join([escape_dict.get(c, c) for c in text])
|
145 |
|
|
|
140 |
"`": r"\`",
|
141 |
">": r"\>",
|
142 |
"|": r"\|",
|
143 |
+
"#": r"\#",
|
144 |
}
|
145 |
return "".join([escape_dict.get(c, c) for c in text])
|
146 |
|