Discovered while testing MC-278230.
The bug
If space characters are given a visual appearance, and typed into a book and quill, any that are at the end of a line will be completely invisible.
How to reproduce
Download and apply the attached resource pack
Type something followed by a space
Expected results
The space would be visible.
Actual results
It is in chat or on a sign, but not in a book.
Can confirm.