Unverified Commit 241867e6 authored by Tommaso Pecorella's avatar Tommaso Pecorella
Browse files

core: fix original bug that slipped back in bf4c4fa9

parent bf4c4fa9
Showing with 1 addition and 1 deletion
+1 -1
......@@ -77,7 +77,7 @@ Encode (const std::string & source)
// Special case:
// "...blah <file..." is not allowed
// "...foo<bar..." is allowed
if (buffer.back () == ' ')
if (buffer.empty () || buffer.back () == ' ')
{
buffer.append ("&lt;");
}
......
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