escape HTML entities in src-attribute

This commit is contained in:
Christian Rishøj committed 2017-09-14 11:42:34 +07:00
1 parent 2f6dc39ab3
commit 1810274c8a
2 files changed
+4 -1

No files matched your search

+1 -1
View File
@@ -162,7 +162,7 @@ class HtmlBuilder
$title = $this->entities($title);
}
return $this->toHtmlString('<a href="' . $url . '"' . $this->attributes($attributes) . '>' . $title . '</a>');
return $this->toHtmlString('<a href="' . $this->entities($url) . '"' . $this->attributes($attributes) . '>' . $title . '</a>');
}
/**