Allow tags to be enclosed in double quotes

Closes #159

Signed-off-by: Shaun Ruffell <sruffell@sruffell.net>
This commit is contained in:
Shaun Ruffell 2021-04-06 01:48:32 -05:00 committed by Thomas Lauf
parent fd6d57dbc2
commit 0460656afe
4 changed files with 9 additions and 7 deletions

View file

@ -54,11 +54,6 @@ std::string escape (const std::string& input, int c)
////////////////////////////////////////////////////////////////////////////////
std::string quoteIfNeeded (const std::string& input)
{
if (input[0] == '"' || input[0] == '\'')
{
return input;
}
auto quote = input.find ('"');
auto space = input.find (' ');
auto op = input.find_first_of ("+-/()<^!=~_%");