We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc37321 commit 17530ffCopy full SHA for 17530ff
src/phpDocumentor/GraphViz/Attribute.php
@@ -132,12 +132,12 @@ public function isValueContainingSpecials()
132
/**
133
* Encode special characters so the escape sequences aren't removed
134
*
135
+ * @see http://www.graphviz.org/doc/info/attrs.html#k:escString
136
* @return string
137
*/
138
protected function encodeSpecials()
139
{
140
$value = $this->getValue();
- $validEscapes = 'NGEGTHLnlr';
141
$regex = '(\'|"|\\x00|\\\\(?![\\\\NGETHLnlr]))';
142
return preg_replace($regex, '\\\\$0', $value);
143
}
0 commit comments