a comment was missing:

>    for s in string.utfvalues(str) do
>        local char = unicode.utf8.char(s)
>       if s == 10 then
>             ...
>       elseif match(char,"%s") then
              -- it's a space so create a glue node
>             ...
>        end
>    end

Reply via email to