Unverified Commit 90d7b29c authored by mrbean-bremen's avatar mrbean-bremen
Browse files

Handle apostrophes in IDs with url

- this kind of IDs caused a crash before
- fixes #345
parent a66ddb60
......@@ -27,6 +27,11 @@ namespace Svg
{
id = id.Substring(4);
id = id.TrimEnd(')');
if (id.StartsWith("\""))
{
id = id.Substring(1);
id = id.TrimEnd('\"');
}
}
if (id.StartsWith("#"))
{
......
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