Vestaboard
Vestaboard copied to clipboard
Formatter.convertPlainText() is splitting lines on 22 char boundaries before converting escaped "{nn}" values, leading to unnecessary line breaks
There are many workarounds to this using other formatting functions which seem to work correctly (and you have good tests for), but if you use the simplest Board.post() method like this, you get unexpected line breaks due to there being more than 22 characters before substituting the escape codes:
Board.post('net {63}{65}{66}{66} db {63}{65}')
Looks like a relatively easy fix, although I can see that you need to do other string manipulations before converting everything to Vestaboard character codes, which is why it was simpler to do it they way you did.