We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0062e2a commit be18040Copy full SHA for be18040
1 file changed
src/raw.jl
@@ -433,7 +433,7 @@ function next_no_xml_space(o::Raw) # same as v0.3.5
433
type = o.type
434
has_xml_space = o.has_xml_space
435
ctx = [false]
436
- i = findnext(!isspace, data, i)
+ i = findnext(!xml_isspace, data, i)
437
if isnothing(i)
438
return nothing
439
end
@@ -445,7 +445,7 @@ function next_no_xml_space(o::Raw) # same as v0.3.5
445
if c !== '<'
446
type = RawText
447
j = findnext(==(UInt8('<')), data, i) - 1
448
- j = findprev(!isspace, data, j) # "rstrip"
+ j = findprev(!xml_isspace, data, j) # "rstrip"
449
elseif c === '<'
450
c2 = Char(o.data[i+1])
451
if c2 === '!'
0 commit comments