diff --git a/mod_mam_mnesia/src/mod_mam_mnesia.erl b/mod_mam_mnesia/src/mod_mam_mnesia.erl index a3068f7..9016520 100644 --- a/mod_mam_mnesia/src/mod_mam_mnesia.erl +++ b/mod_mam_mnesia/src/mod_mam_mnesia.erl @@ -725,7 +725,7 @@ parse_request(Host, Query) -> parse_form(#xmlel{} = Query) -> case xml:get_subtag_with_xmlns(Query, <<"x">>, ?NS_XDATA) of #xmlel{children = Fields} -> - parse_form(Fields); + parse_form(xml:remove_cdata(Fields)); false -> #mam_filter{} end;