X-Git-Url: https://git.bts.cx/cx.git/blobdiff_plain/74f4d033d443f0774068e377d6eeb4c2f670db9a..c469f0f84d54065f375698e891da3461abaf661f:/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);