I think using \pad-around will work best in my case. The reason I'm using \wordwrap-string is because I am passing a string via a variable. Thanks for your help, and I'm glad this has resulted in an improvement to the documentation :)
𐑪𐑯 2023-04-13 𐑨𐑑 04:54, Werner LEMBERG <w...@gnu.org> 𐑮𐑴𐑑: >>> This smells like a bug: `\wordwrap-string` returns a bunch of lines >>> spaced by `baseline-skip`, but no such skip is applied after the >>> last line, for whatever reason. >> >> Why would it be applied after the last line? > > Oh, I didn't mean that `\wordwrap-string` actually should insert such > a vertical space, sorry for being imprecise. > > Anyway, your explanation was quite helpful; I will update the > documentation to mention that the baseline of a `\wordwrap-string` > object is the baseline *of the first line*. > > > Werner