Commit e47ba46b authored by Sebastian Ramacher's avatar Sebastian Ramacher
Browse files

Merge branch 'hash-escape' into 'develop'

Escape '#' hash symbol when searching for a file

See merge request !6
parents acca4036 7e6d9c26
Pipeline #439 passed with stages
in 1 minute and 17 seconds
......@@ -409,7 +409,7 @@ girara_escape_string(const char* value)
GString* str = g_string_new("");
while (*value != '\0') {
const char c = *value++;
if (strchr("\\ \t\"\'", c) != NULL) {
if (strchr("\\ \t\"\'#", c) != NULL) {
g_string_append_c(str, '\\');
}
g_string_append_c(str, c);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment