Fix image links appearing with escaped slashes
Changelog-Fixed: Fix images and links occasionally appearing with escaped slashes Closes: https://github.com/damus-io/damus/issues/1468 Signed-off-by: Daniel D‘Aquino <daniel@daquino.me> Signed-off-by: William Casarin <jb55@jb55.com> Rewarded-sats: 50000
This commit is contained in:
committed by
William Casarin
parent
7f313dcbd4
commit
066b3cdde8
@@ -117,6 +117,7 @@ static int cursor_push_unescaped_char(struct cursor *cur, char c1, char c2)
|
||||
case 'b': return cursor_push_byte(cur, '\b');
|
||||
case 'f': return cursor_push_byte(cur, '\f');
|
||||
case '\\': return cursor_push_byte(cur, '\\');
|
||||
case '/': return cursor_push_byte(cur, '/');
|
||||
case '"': return cursor_push_byte(cur, '"');
|
||||
case 'u':
|
||||
// these aren't handled yet
|
||||
|
||||
Reference in New Issue
Block a user