X-Git-Url: https://git.bts.cx/cx.git/blobdiff_plain/74f4d033d443f0774068e377d6eeb4c2f670db9a..2b55b89726ebae169e30694c7831ea9b13e32e83:/cx/cx.php?ds=inline 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);