Commit 2f3c40a3 authored by twanvl's avatar twanvl

Fixed: keywords no longer apply inside <atom> tags (most notably inside CARDNAME)

parent 1dd1fa2d
......@@ -443,6 +443,8 @@ String KeywordDatabase::expand(const String& text,
} else if (is_substr(s, i, _("</kw-"))) {
expand_type = 'a';
s = s.erase(i, skip_tag(s,i)-i); // remove the tag from the string
} else if (is_substr(s, i, _("<atom"))) {
i = match_close_tag_end(s, i); // skip <atom>s
} else {
i = skip_tag(s, i);
}
......
Markdown is supported
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