Merge pull request #469 from crishoj/5.5
Proposal: Escape HTML entities in `src`-attribute
This commit is contained in:
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