We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2cbe955 + 43360f5 commit 9407ad0Copy full SHA for 9407ad0
src/document.jl
@@ -123,4 +123,4 @@ function Base.string(xdoc::XMLDocument; encoding::AbstractString="utf-8")
123
_xcopystr(buf_out[1])
124
end
125
126
-Base.show(io::IO, xdoc::XMLDocument) = println(io, string(xdoc))
+Base.show(io::IO, xdoc::XMLDocument) = print(io, string(xdoc))
src/nodes.jl
@@ -184,7 +184,7 @@ function Base.string(nd::XMLNode)
184
return r
185
186
187
-Base.show(io::IO, nd::XMLNode) = println(io, string(nd))
+Base.show(io::IO, nd::XMLNode) = print(io, string(nd))
188
189
190
#######################################
0 commit comments