diff --git a/modules/node/handler/node_form_response.e b/modules/node/handler/node_form_response.e index 804fef6..9cedeca 100644 --- a/modules/node/handler/node_form_response.e +++ b/modules/node/handler/node_form_response.e @@ -227,23 +227,24 @@ feature -- Form do l_preview := attached {WSF_STRING} fd.item ("op") as l_op and then l_op.same_string ("Preview") if l_preview then - b.append ("Preview
") + b.append ("
Preview
") if attached fd.string_item ("format") as s_format and then attached api.format (s_format) as f_format then l_format := f_format end if attached fd.string_item ("title") as l_title then b.append ("Title:
" + html_encoded (l_title) + "
") end - if attached fd.string_item ("body") as l_body then - b.append ("Body:
") + if attached fd.string_item ("content") as l_content then + b.append ("Content:
") if l_format /= Void then - b.append (l_format.formatted_output (l_body)) + b.append (l_format.formatted_output (l_content)) else - b.append (html_encoded (l_body)) + b.append (html_encoded (l_content)) end b.append ("
") end b.append ("
") + b.append ("
") end end