Skip to content

Commit 5a04f62

Browse files
authored
Update README.md
1 parent 8f53641 commit 5a04f62

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,9 @@ Table of tags that should not be sanitized. By default, it contains `script` and
4343
local xml_gen = require("xml-generator")
4444
xml_gen.no_sanitize["mytag"] = true
4545

46-
local doc = xml_gen.xml {
47-
xml.mytag [[
46+
local doc = xml_gen.xml.mytag [[
4847
Thsi will not be sanitized! <><><><><><%%%<>%<>%<>% you can use all of this!
49-
]]
50-
}
48+
]]
5149

5250
```
5351

0 commit comments

Comments
 (0)