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