@Pisanojm in your tags-to-row function, the return t and n just seem to write the letters t and n before and after the tag. I can’t find anything in the function where these might be variables meaning something else. I’d think you’d just want a separator there.