mirror of
https://github.com/processone/ejabberd.git
synced 2025-01-03 18:02:28 +01:00
Handle cdata in initial data probe of ws module
This commit is contained in:
parent
3706e35b86
commit
83653c0338
@ -359,6 +359,7 @@ parsed_items(List) ->
|
|||||||
when element(1, El) == xmlel;
|
when element(1, El) == xmlel;
|
||||||
element(1, El) == xmlstreamstart;
|
element(1, El) == xmlstreamstart;
|
||||||
element(1, El) == xmlstreamelement;
|
element(1, El) == xmlstreamelement;
|
||||||
|
element(1, El) == xmlstreamcdata;
|
||||||
element(1, El) == xmlstreamend ->
|
element(1, El) == xmlstreamend ->
|
||||||
parsed_items([El | List]);
|
parsed_items([El | List]);
|
||||||
{'$gen_event', {xmlstreamerror, _}} ->
|
{'$gen_event', {xmlstreamerror, _}} ->
|
||||||
|
Loading…
Reference in New Issue
Block a user