Skip to main content

is_dot_unsafe_character

Function is_dot_unsafe_character 

Source
pub const fn is_dot_unsafe_character(c: char) -> bool
Expand description

Returns true if c is unsafe inside a Graphviz DOT string literal.

Unsafe characters include:

  • Double quotes (") which can break out of string literals.
  • Backslashes (\) which serve as escape prefixes.
  • ASCII and Unicode control characters (C0, C1, DEL).