fix: non-inline text

- make sure non-inline text is rendered properly
- make sure empty string is rendered as empty string