src/Writing/SVGWriter.php
private function appendAttribute($attrName, $attrValue)
    {
        $xml1 = defined('ENT_XML1') ? ENT_XML1 : 16;

        $attrName = htmlspecialchars($attrName, $xml1 | ENT_COMPAT);
        $attrValue = htmlspecialchars($attrValue, $xml1 | ENT_COMPAT);

        $this->outString .= ' '.$attrName.'="'.$attrValue.'"';
    }
private function appendAttribute($attrName, $attrValue)
    {
        $xml1 = defined('ENT_XML1') ? ENT_XML1 : 16;

        $attrName = htmlspecialchars($attrName, $xml1 | ENT_COMPAT);
        $attrValue = htmlspecialchars($attrValue, $xml1 | ENT_COMPAT);

        $this->outString .= ' '.$attrName.'="'.$attrValue.'"';
    }
private function appendAttribute ( $ attrName , $ attrValue ) { $ xml1 = defined ( 'ENT_XML1' ) ? ENT_XML1 : 16 ; $ attrName = htmlspecialchars ( $ attrName , $ xml1 | ENT_COMPAT ) ; $ attrValue = htmlspecialchars ( $ attrValue , $ xml1 | ENT_COMPAT ) ; $ this -> outString .= ' ' . $ attrName . '="' . $ attrValue . '"' ; }
Appends a single attribute given by key and value to this writer's
output.

@param string $attrName  The attribute name.
@param string $attrValue The attribute value.

@return void
Appends a single attribute given by key and value to this writer s output .