diff options
-rw-r--r-- | lib/Apache/Inject/Handler.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Apache/Inject/Handler.pm b/lib/Apache/Inject/Handler.pm index 10d9d0c..21be3c0 100644 --- a/lib/Apache/Inject/Handler.pm +++ b/lib/Apache/Inject/Handler.pm @@ -15,12 +15,12 @@ my $doc = qr{ (<!doctype[^>]*>)? \s* (<html[^>]*>)? \s* ( <head[^>]*>.*?</head> \s* - | ( <title[^>]*>.*?</title> \s* - | <base[^>]*> \s* - | <meta[^>]*> \s* + | ( <meta[^>]*> \s* | <link[^>]*> \s* + | <title[^>]*>.*?</title> \s* | <style[^>]*>.*?</style> \s* # n.b. | <script[^>]*>.*?</script> \s* # n.b. + | <base[^>]*> \s* )+ )? (<body[^>]*>)? |