Bug Fix - concatenation of colons in description

- When a task description contained a colon, the two words preceding
  the colon were concatenated.  For example, "aa bb:cc dd" gets
  concatenated to "aabb:cc dd".
- Added unit to test to prevent regression.
- Updated documentation.
This commit is contained in:
Paul Beckingham
2009-04-11 23:02:48 -04:00
parent 579232b7ea
commit 1cbec205f1
4 changed files with 23 additions and 4 deletions

View File

@@ -443,7 +443,11 @@ void parse (
// If it is not a valid attribute, then allow the argument as part of
// the description.
else
{
if (descCandidate.length ())
descCandidate += " ";
descCandidate += arg;
}
}
// Substitution of description text.
@@ -462,7 +466,7 @@ void parse (
{
if (descCandidate.length ())
descCandidate += " ";
descCandidate += std::string (arg);
descCandidate += arg;
}
}
@@ -471,7 +475,7 @@ void parse (
{
if (descCandidate.length ())
descCandidate += " ";
descCandidate += std::string (arg);
descCandidate += arg;
}
}
}