You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# example.crrequire"xml"
xml =XML.build(indent:2) do |xml|
xml.element("example", number:"1") do
xml.text "foo\0bar"end
xml.element("example", number:"2") do
xml.text "foo\u{08}bar"endendputs xml
On crystal
0.21.0
I expect to see
XML::Builder
raise, because NUL and DEL cannot be represented in XML. (ref)The text was updated successfully, but these errors were encountered: