Browse Source

Resume sanitizing attributes

master
J. King 1 year ago
parent
commit
d5d04869a8
  1. 2
      RoboFile.php
  2. 235
      lib/AbstractSanitizer.php

2
RoboFile.php

@ -493,7 +493,7 @@ class RoboFile extends \Robo\Tasks {
],
];
// retrieve the single-page HTML specification (this is around 12MB in size)
$spec = file_get_contents("html.html"); //$spec = file_get_contents("https://html.spec.whatwg.org/");
$spec = file_get_contents("https://html.spec.whatwg.org/");
// parse it (this may take several seconds
if ($spec) {
// define a list of attribute-element maps which the specification omits for some reason

235
lib/AbstractSanitizer.php

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save