Skip to content

Commit

Permalink
Add htmlspecialchars function for nameTag
Browse files Browse the repository at this point in the history
  • Loading branch information
noobpk committed Nov 29, 2021
1 parent 003545e commit d0fd404
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -91,7 +91,7 @@ public function addColumns()
$html = '<span style="background: ' . ($row->color ?? '#546E7A') . ';width: 15px;height: 15px;margin-top: 3px;border-radius: 50%;float: left;margin-right: 10px;box-shadow: 0px 4px 15.36px 0.75px rgb(0 0 0 / 10%), 0px 2px 6px 0px rgb(0 0 0 / 15%);"></span>';


return $html . $row->name;
return $html . htmlspecialchars($row->name);
},
]);

Expand Down

0 comments on commit d0fd404

Please sign in to comment.