Skip to content
This repository has been archived by the owner on May 6, 2020. It is now read-only.

Text that's prefixed by <br /> is not shown in sketchpad #157

Open
smathot opened this issue Jul 2, 2019 · 2 comments
Open

Text that's prefixed by <br /> is not shown in sketchpad #157

smathot opened this issue Jul 2, 2019 · 2 comments
Assignees
Labels

Comments

@smathot
Copy link
Collaborator

smathot commented Jul 2, 2019

The following textline element is not shown on a sketchpad. The reason is the <br /> tag (empty line) that starts the text. The same tag at another position does not cause any issues.

draw textline center=1 color=white font_bold=no font_family=serif font_italic=no font_size=32 html=yes show_if=always text="<br />test" x=0 y=0 z_index=0
@dschreij
Copy link
Collaborator

dschreij commented Jul 2, 2019

So this could be solved by simply checking for a
tag at the beginning of the string, and remove it if it is found?

@smathot
Copy link
Collaborator Author

smathot commented Jul 2, 2019

No it should be treated as a blank line.

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

No branches or pull requests

2 participants