fix article editor not escaping html
This commit is contained in:
parent
4fd82cb3d9
commit
67f77fa3fa
1 changed files with 1 additions and 1 deletions
|
@ -288,7 +288,7 @@ if(isset($_GET["guid"])) {
|
|||
$title_prefill = $result["title"];
|
||||
$address_prefill = $result["readable_address"];
|
||||
$abstract_prefill = $result["abstract"];
|
||||
$content_prefill = $result["content"];
|
||||
$content_prefill = sanitize_input($result["content"]);
|
||||
|
||||
// select the tags for this article from the database
|
||||
$stmt = $conn->prepare("SELECT blogpost_tags.name FROM
|
||||
|
|
Loading…
Reference in a new issue