Merge pull request #469 from crishoj/5.5

Proposal: Escape HTML entities in `src`-attribute
This commit is contained in:
Tom Shafer authored and GitHub committed 2018-02-05 06:41:39 -07:00
commit a5f7464ee6
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>');
}
/**