[mod] css

This commit is contained in:
Andy Bunce 2025-10-31 23:06:43 +00:00
parent 559828340e
commit 4bfb36e4e0
5 changed files with 48 additions and 38 deletions

View file

@ -91,7 +91,7 @@ declare function pos:range-from-ast(
$text as xs:string)
as lspt:Range{
lspt:Range(
pos:toPosition($text,number($ast/@start)),
pos:toPosition($text,number($ast/@start)-1),
pos:toPosition($text, number($ast/@end))
)
};