You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We ran into an edge case where node.getSubtitles() returns a string that contains unsafe HTML characters such as '<' and '>'. For context, the subtitle contains Java type angle brackets (e.g. Foo<? extends Bar>).
This resulted in errors when compiling the .dot file.
We ran into an edge case where
node.getSubtitles()
returns a string that contains unsafe HTML characters such as '<' and '>'. For context, the subtitle contains Java type angle brackets (e.g. Foo<? extends Bar>).This resulted in errors when compiling the
.dot
file.A possible fix might be to
htmlEscape(subtitle)
before appending it to theStringBuilder html
: https://github.com/google/guice/blob/master/extensions/grapher/src/com/google/inject/grapher/graphviz/GraphvizGrapher.java#L148The text was updated successfully, but these errors were encountered: