We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 54e8cb9 commit ca56145Copy full SHA for ca56145
1 file changed
src/vendor/CanUrl.php
@@ -123,7 +123,7 @@ public function event_end_page(Event $event)
123
$view = $event->sender;
124
if (!\Yii::$app->request->isPjax && !\Yii::$app->request->isAjax) {
125
if (!isset($view->linkTags['canonical'])) {
126
- $view->linkTags['canonical'] = '<link rel="canonical" href="'.$canurl.'"/>';
+ $view->linkTags['canonical'] = '<link rel="canonical" href="'.$canurl.'">';
127
}
128
129
0 commit comments