/**
  * Override the default functionality to prevent adding any data or children to an else node
  */
 public function addCharData($data)
 {
     if ($this instanceof RsmlElse) {
         throw new InvalidDataException('You can\'t add char data to an else nodes. else nodes must be empty');
     }
     RsmlNode::addCharData($data);
 }
 public function addCharData($data)
 {
     RsmlNode::addCharData(str_replace("'", "\\'", $data));
 }