|
@@ 1212-1216 (lines=5) @@
|
| 1209 |
|
} |
| 1210 |
|
|
| 1211 |
|
// remove deprecated anchor-jump |
| 1212 |
|
if ($this->doRemoveDeprecatedAnchorName === true) { |
| 1213 |
|
if ($tag === 'a' && $attrName === 'name' && isset($allAttr['id']) && $allAttr['id'] === $attrValue) { |
| 1214 |
|
return true; |
| 1215 |
|
} |
| 1216 |
|
} |
| 1217 |
|
|
| 1218 |
|
// remove "type=text/css" for css links |
| 1219 |
|
if ($this->doRemoveDeprecatedTypeFromStylesheetLink === true) { |
|
@@ 1219-1223 (lines=5) @@
|
| 1216 |
|
} |
| 1217 |
|
|
| 1218 |
|
// remove "type=text/css" for css links |
| 1219 |
|
if ($this->doRemoveDeprecatedTypeFromStylesheetLink === true) { |
| 1220 |
|
if ($tag === 'link' && $attrName === 'type' && $attrValue === 'text/css' && isset($allAttr['rel']) && $allAttr['rel'] === 'stylesheet') { |
| 1221 |
|
return true; |
| 1222 |
|
} |
| 1223 |
|
} |
| 1224 |
|
|
| 1225 |
|
// remove deprecated script-mime-types |
| 1226 |
|
if ($this->doRemoveDeprecatedTypeFromScriptTag === true) { |