Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix string escaping #19

Merged
merged 1 commit into from
Jan 25, 2018
Merged

Fix string escaping #19

merged 1 commit into from
Jan 25, 2018

Commits on Jan 25, 2018

  1. Fix string escaping

    If a string contains quote-characters, they don't get correctly
    escaped, causing syntax errors in the resulting graphviz file.
    This quotes the string *twice*: The first quoting makes it a go-quoted
    string literal - the second quoting gets unescaped by graphviz.
    We then remove the outermost quotes.
    
    As a result, the string appears as a go-quoted string literal in the
    output, which seems to be, what we want.
    Merovius committed Jan 25, 2018
    Configuration menu
    Copy the full SHA
    d170857 View commit details
    Browse the repository at this point in the history