Commit 40c92b72 authored by Síle Ekaterin Liszka's avatar Síle Ekaterin Liszka
Browse files

Chessa::Bug::Adelie: use quotemeta on sigil

parent 20b3c9fe
......@@ -107,19 +107,19 @@ sub parse {
match ($word : =~) {
case (/#/) {
$type = 'issues';
$sigil = '#';
$sigil = quotemeta '#';
}
case (/!/) {
$type = 'merge_requests';
$sigil = '!'
$sigil = quotemeta '!';
}
case (/\$/) {
$type = 'snippets';
$sigil = qr'$';
$sigil = quotemeta '$';
}
case (/@[a-fA-F0-9]{7,}/) {
$type = 'commit';
$sigil = '@';
$sigil = quotemeta '@';
}
default {
next;
......
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