|
|
|
@ -620,7 +620,7 @@ export default class Element extends Node {
|
|
|
|
|
|
|
|
|
|
|
|
if (href_static_value === null || href_static_value.match(/^(https?:)?\/\//i)) {
|
|
|
|
if (href_static_value === null || href_static_value.match(/^(https?:)?\/\//i)) {
|
|
|
|
const rel = attribute_map.get('rel');
|
|
|
|
const rel = attribute_map.get('rel');
|
|
|
|
const rel_values = rel ? rel.get_static_value().split(' ') : [];
|
|
|
|
const rel_values = rel?.is_static ? rel.get_static_value().split(' ') : [];
|
|
|
|
const expected_values = ['noreferrer'];
|
|
|
|
const expected_values = ['noreferrer'];
|
|
|
|
|
|
|
|
|
|
|
|
expected_values.forEach(expected_value => {
|
|
|
|
expected_values.forEach(expected_value => {
|
|
|
|
|