escape HTML entities in src-attribute
This commit is contained in:
1 parent
2f6dc39ab3
commit
1810274c8a
2 files changed
+4
-1
No files matched your search
+1
-1
@@ -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>');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user