+2
-2
README.md
+2
-2
README.md
···
52
52
|> xml_builder.block_comment({
53
53
{
54
54
xml_builder.new()
55
-
|> option_content_tag("hello", [Opt("world", "Earth")], "AAAAAAA")
55
+
|> option_content_tag("hello", [Opt("world", "Earth")], "North America")
56
56
}
57
57
})
58
58
|> end_xml()
···
78
78
<!-- Below this is a link example -->
79
79
<link href="https://example.com" idk="N/A" />
80
80
<!--
81
-
<hello world="Earth"> AAAAAAA </hello>
81
+
<hello world="Earth"> North America </hello>
82
82
-->
83
83
```
84
84
+3
-3
src/xmleam/xml_builder.gleam
+3
-3
src/xmleam/xml_builder.gleam
···
12
12
//// <hello> world </hello>
13
13
//// </name>
14
14
15
-
import gleam/string_builder.{append, append_builder}
16
-
import gleam/string
17
-
import gleam/result
18
15
import gleam/bool
19
16
import gleam/list
17
+
import gleam/result
18
+
import gleam/string
19
+
import gleam/string_builder.{append, append_builder}
20
20
21
21
pub type BuilderError {
22
22
ContentsEmpty