module SyntaxTree::Mermaid

def escape(label)

HTML entities such that they render properly within the quotes.
Escape a label to be used in the mermaid syntax. This is used to escape
def escape(label)
  "\"#{CGI.escapeHTML(label)}\""
end