mirror of
https://github.com/friendica/friendica
synced 2025-04-27 15:10:11 +00:00
Capitalized XML
Acronym classes should be capitalized
This commit is contained in:
parent
b8d9509563
commit
bc49fc974c
12 changed files with 235 additions and 235 deletions
|
@ -6,7 +6,7 @@
|
|||
namespace Friendica;
|
||||
|
||||
use Friendica\Core\Config;
|
||||
use Friendica\Util\Xml;
|
||||
use Friendica\Util\XML;
|
||||
|
||||
use dba;
|
||||
use DomXPath;
|
||||
|
@ -203,17 +203,17 @@ class ParseUrl
|
|||
$doc = new DOMDocument();
|
||||
@$doc->loadHTML($body);
|
||||
|
||||
Xml::deleteNode($doc, "style");
|
||||
Xml::deleteNode($doc, "script");
|
||||
Xml::deleteNode($doc, "option");
|
||||
Xml::deleteNode($doc, "h1");
|
||||
Xml::deleteNode($doc, "h2");
|
||||
Xml::deleteNode($doc, "h3");
|
||||
Xml::deleteNode($doc, "h4");
|
||||
Xml::deleteNode($doc, "h5");
|
||||
Xml::deleteNode($doc, "h6");
|
||||
Xml::deleteNode($doc, "ol");
|
||||
Xml::deleteNode($doc, "ul");
|
||||
XML::deleteNode($doc, "style");
|
||||
XML::deleteNode($doc, "script");
|
||||
XML::deleteNode($doc, "option");
|
||||
XML::deleteNode($doc, "h1");
|
||||
XML::deleteNode($doc, "h2");
|
||||
XML::deleteNode($doc, "h3");
|
||||
XML::deleteNode($doc, "h4");
|
||||
XML::deleteNode($doc, "h5");
|
||||
XML::deleteNode($doc, "h6");
|
||||
XML::deleteNode($doc, "ol");
|
||||
XML::deleteNode($doc, "ul");
|
||||
|
||||
$xpath = new DomXPath($doc);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue