Skip to content

Commit be18040

Browse files
authored
more isspace
1 parent 0062e2a commit be18040

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/raw.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ function next_no_xml_space(o::Raw) # same as v0.3.5
433433
type = o.type
434434
has_xml_space = o.has_xml_space
435435
ctx = [false]
436-
i = findnext(!isspace, data, i)
436+
i = findnext(!xml_isspace, data, i)
437437
if isnothing(i)
438438
return nothing
439439
end
@@ -445,7 +445,7 @@ function next_no_xml_space(o::Raw) # same as v0.3.5
445445
if c !== '<'
446446
type = RawText
447447
j = findnext(==(UInt8('<')), data, i) - 1
448-
j = findprev(!isspace, data, j) # "rstrip"
448+
j = findprev(!xml_isspace, data, j) # "rstrip"
449449
elseif c === '<'
450450
c2 = Char(o.data[i+1])
451451
if c2 === '!'

0 commit comments

Comments
 (0)