X-Git-Url: https://git.bts.cx/cx.git/blobdiff_plain/74f4d033d443f0774068e377d6eeb4c2f670db9a..85fe5bf672260a88151fa02d1d6d224762edd6a2:/cx/cx.php diff --git a/cx/cx.php b/cx/cx.php index cbe7646..a47714b 100644 --- a/cx/cx.php +++ b/cx/cx.php @@ -125,7 +125,7 @@ function cx_route($path) { $date = cx_form_input_sanitized_date_time('post_date'); if (isset($date) == false) $date = null; $draft = cx_form_input_sanitized('post_is_draft') == 'draft'; - $data = cx_form_input_sanitized('post_data'); + $data = cx_form_input_sanitized_allowing_html('post_data'); if (isset($_GET['id']) == false or $_GET['id'] == 0) { cx_posts_add_post(1, $title, $slug, $date, $draft, $data);