Commit db13efd 1 parent a5a6548 commit db13efd Copy full SHA for db13efd
File tree 2 files changed +3
-1
lines changed
2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 11
11
12
12
-record (xmlel , {name :: binary (),
13
13
attrs = #{} :: exml :attrs (),
14
- children = [] :: [exml :element () | exml : cdata ()]}).
14
+ children = [] :: [exml :child ()]}).
15
15
16
16
% % Implementation of the exmlAssertEqual/2 macro is a modification of
17
17
% % https://github.com/erszcz/rxml/commit/e8483408663f0bc2af7896e786c1cdea2e86e43d#diff-2cb5d18741df32f4ead70c21fdd221d1
Original file line number Diff line number Diff line change 31
31
-export_type ([attrs / 0 ,
32
32
cdata / 0 ,
33
33
element / 0 ,
34
+ child / 0 ,
34
35
item / 0 ]).
35
36
36
37
-type attrs () :: #{binary () => binary ()}.
44
45
% % </ul>
45
46
-type element () :: # xmlel {}.
46
47
-type item () :: element () | cdata () | exml_stream :start () | exml_stream :stop ().
48
+ -type child () :: element () | cdata ().
47
49
-type prettify () :: pretty | not_pretty .
48
50
% % Printing indentation rule, see `to_iolist/2'.
49
51
You can’t perform that action at this time.
0 commit comments