diff --git a/feedwordpresshtml.class.php b/feedwordpresshtml.class.php index 91cb5ed..680ea37 100644 --- a/feedwordpresshtml.class.php +++ b/feedwordpresshtml.class.php @@ -6,9 +6,8 @@ function attributeRegex ($tag, $attr) { ($attr)= ) ( - \s*(\"|') - (((?!\\6).)*) - \\6([^>]*>) + \s*(\"|')([^\"']*) + (\"|')([^>]*>) | \s*(((?!/>)[^\s>])*) ([^>]*>)