We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61a5143 commit 75d1094Copy full SHA for 75d1094
src/RobotsMeta.php
@@ -68,7 +68,7 @@ protected function findRobotsMetaTagProperties(string $html): array
68
69
protected function findRobotsMetaTagLine(string $html): ?string
70
{
71
- if (preg_match('/\<meta name="robots".*?\>/mis', $html, $matches)) {
+ if (preg_match('/\<meta name=("|\')robots("|\').*?\>/mis', $html, $matches)) {
72
return $matches[0];
73
}
74
0 commit comments