Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I need a way to prevent a line break with whatever's in front of the current token. #32

Closed
dapetcu21 opened this issue Mar 29, 2019 · 1 comment

Comments

@dapetcu21
Copy link
Contributor

dapetcu21 commented Mar 29, 2019

I have the following scenario:

I have a text bubble with some arbitrary text, which needs to have a small caret image prepended. Something like this:

Screenshot 2019-03-29 at 18 27 05

The caret must never be orphaned alone on a line. I tried adding <nobr> before the last word, but I'm left with situations like this, which are invalid:

Jennifer has <i>logged <nobr>in</i> <img=interludes:advance/></nobr>
@dapetcu21
Copy link
Contributor Author

After some more testing, appending <nobr> <img=interludes:advance/></nobr> seems to do the trick.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant