mirror of
https://github.com/processone/ejabberd.git
synced 2024-09-27 14:30:55 +02:00
fixing 1324 commit issue on tagged versions
SVN Revision: 1326
This commit is contained in:
parent
4613080337
commit
1ca2ba865e
@ -59,15 +59,6 @@ process_data(CallbackPid, Stack, Data) ->
|
|||||||
case Stack of
|
case Stack of
|
||||||
[El] ->
|
[El] ->
|
||||||
[El];
|
[El];
|
||||||
%% Merge CDATA nodes if they are contiguous
|
|
||||||
%% This does not change the semantic: the split in
|
|
||||||
%% several CDATA nodes depends on the TCP/IP packet
|
|
||||||
%% fragmentation
|
|
||||||
[{xmlelement, Name, Attrs,
|
|
||||||
[{xmlcdata, PreviousCData}|Els]} | Tail] ->
|
|
||||||
[{xmlelement, Name, Attrs,
|
|
||||||
[{xmlcdata, concat_binary([PreviousCData, CData])} | Els]} | Tail];
|
|
||||||
%% No previous CDATA
|
|
||||||
[{xmlelement, Name, Attrs, Els} | Tail] ->
|
[{xmlelement, Name, Attrs, Els} | Tail] ->
|
||||||
[{xmlelement, Name, Attrs, [{xmlcdata, CData} | Els]} |
|
[{xmlelement, Name, Attrs, [{xmlcdata, CData} | Els]} |
|
||||||
Tail];
|
Tail];
|
||||||
|
Loading…
Reference in New Issue
Block a user