Ensure characters are converted

This commit is contained in:
Oliver Davies 2017-12-30 18:20:24 +00:00
parent 761eba6203
commit 55ba13fdac

View file

@ -66,6 +66,9 @@ class Builder
$value = collect($value)->implode('|');
}
return "<apps:property name='{$key}' value='{$value}'/>";
return vsprintf("<apps:property name='%s' value='%s'/>", [
$key,
htmlentities($value),
]);
}
}