Skip to content

Commit 408c064

Browse files
committed
Minor type in aparently immaterial test
1 parent bcee4b7 commit 408c064

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/raw.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ function prev(o::Raw)
365365
d = Char(data[findprev(==(UInt8('<')), data, j)+1])
366366
i = j - 1
367367
next_type = type
368-
if c !== '>' || type === RawElementClose && d === '/' && length(ctx.preserve_space) > 0 && (ctx.preserve_space[end]) # text or empty whitespace
368+
if c !== '>' || type === RawElementClose && d !== '/' && length(ctx.preserve_space) > 0 && (ctx.preserve_space[end]) # text or empty whitespace
369369
type = RawText
370370
i=findprev(==(UInt8('>')), data, j) + 1
371371
i = length(ctx.preserve_space) == 0 || !(ctx.preserve_space[end]) ? findprev(!isspace, data, i) : i # If preserving whitespace, retain leading and trailing whitespace

0 commit comments

Comments
 (0)