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
Backslashes in File Path Do Not Display in Node Graph #180
Comments
So after some poking around. In the DOT language, backslashes in the label of a node a allowed and should not be seen as escaping characters. However renderers may, and in this case I believe that's what is happening. So this means the backslash munging needs to go into the client side, not language server as the server is outputting a valid DOT file. See footnote # 1 in http://www.graphviz.org/doc/info/lang.html |
Previously vis.jz sees backslashes as escape characters, however they are not in the DOT language. This commit escapes any backslash (double backslash) coming from a valid DOT file, in preparation to be rendered by viz.js.
Previously vis.jz sees backslashes as escape characters, however they are not in the DOT language. This commit escapes any backslash (double backslash) coming from a valid DOT file, in preparation to be rendered by viz.js.
(GH-180) Display backslashes in node graph
@michaeltlombardi Happy to close this issue? |
Yes! |
What Versions are you running?
puppet --version
)What You Are Seeing?
When specifying a file resource and checking the node graph, backslashes are not displayed correctly, though forward slashes are.
What is Expected?
Paths to appear correctly in the node graph.
How Did You Get This To Happen? (Steps to Reproduce)
Clone, build, use the code from the screen shots.
Output Log
None generated.
The text was updated successfully, but these errors were encountered: