Copied from #11558
Minetest version
e7b05be
Summary
While testing some formspec features, I noticed that the vertlabel element does not change color when using minetest.colorize on its text. This is inconsistent with regular labels, and seems to be an artifact of how it functions (ie. instead of laying out the text vertically, it simulates vertical rendering with newlines). Looking at the code to confirm this, I also noticed that it won't handle \n correctly either, instead treating it like a space for layout purposes.
Repro
Make a formspec containing a vertlabel element, and use color escapes and newlines in it. Note that the text is not colored, and the newlines are still functioning as if the label was horizontal.