Formspec tables with entries that have newlines

Post Reply
User avatar
Blockhead
Member
Posts: 1622
Joined: Wed Jul 17, 2019 10:14
GitHub: Montandalar
IRC: Blockhead256
In-game: Blockhead Blockhead256
Location: Land Down Under
Contact:

Formspec tables with entries that have newlines

by Blockhead » Post

I was browsing the help formspec on PandoraBox and came across the help for playerfactions, which has many newlines embedded in it. The typical practice is to show a give shorter help text without all the subcommands when registering the command, then give fuller help when asked with something like /command help subcommand. Anyway the result seems to be that the table cell centre-aligns its text in the builtin help formspec making it look like something's gone wrong. See below:
Attachments
table-formspec-with-newlines-in-small-cell.png
table-formspec-with-newlines-in-small-cell.png (77.89 KiB) Viewed 1340 times
/˳˳_˳˳]_[˳˳_˳˳]_[˳˳_˳˳\ Advtrains enthusiast | My map: Noah's Railyard | My Content on ContentDB ✝️♂

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests