We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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 tried to create some fancy labels for a vector layer with HTML formatting but some parts are not displayed, parts of my text are vanishing.
On the left is my label expression editor open, you can see the intended rendering in the preview. On the right is one such label in a map canvas.
foo<br>bar<span style="color:red">baz</span>
Aktive Python-Erweiterungen searchlayers 3.0.14 MetaSearch 0.3.6 db_manager 0.1.20 grassprovider 2.12.99 processing 2.12.99
If I use <p></p> instead of a <br> or <br />, it looks as intended.
<p></p>
<br>
<br />
The text was updated successfully, but these errors were encountered:
[labeling] fix BR in HTML labels
c3d4257
Fix <br> ignored in HTML formatted labels. Fix qgis#55532
3705ad0
yay, thanks @elpaso
Sorry, something went wrong.
elpaso
Successfully merging a pull request may close this issue.
What is the bug or the crash?
I tried to create some fancy labels for a vector layer with HTML formatting but some parts are not displayed, parts of my text are vanishing.
On the left is my label expression editor open, you can see the intended rendering in the preview.
On the right is one such label in a map canvas.
Steps to reproduce the issue
foo<br>bar<span style="color:red">baz</span>
Versions
<style type="text/css"> p, li { white-space: pre-wrap; } </style>Aktive Python-Erweiterungen
searchlayers
3.0.14
MetaSearch
0.3.6
db_manager
0.1.20
grassprovider
2.12.99
processing
2.12.99
Supported QGIS version
New profile
Additional context
If I use
<p></p>
instead of a<br>
or<br />
, it looks as intended.The text was updated successfully, but these errors were encountered: