Skip to content

Commit 7089eaa

Browse files
martinyderimi-itk
andauthored
Update src/Service/BaseImporter.php
Co-authored-by: Mikkel Ricky <rimi@aarhus.dk>
1 parent 2140d3b commit 7089eaa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Service/BaseImporter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ protected function convertList(?array $list): ?string
5454
protected function convertLink(?object $obj): ?string
5555
{
5656
if ($obj && $obj->Url && $obj->Description) {
57-
return '<a href="'.$obj->Url.'">'.$obj->Description.'</a>';
57+
return '<a href="'.htmlspecialchars($obj->Url).'">'.$obj->Description.'</a>';
5858
}
5959

6060
return '';

0 commit comments

Comments
 (0)