Parse a content and return the html element.
string $content: The html to parse.
array An array containing simplexml objects.
protected function parseContent($content) {
$htmlDom = new \DOMDocument();
@$htmlDom
->loadHTML('<?xml encoding="UTF-8">' . $content);
$elements = simplexml_import_dom($htmlDom);
return $elements;
}