How to handle manual Hyphenation?
When I insert a soft hypen to a string like this:
[Texts]
#without hypen
"Short in English" = "Suchalongwordwhichbreaksboxboundaries"
#with hypen
"Short in English" =
"Suchalong­wordwhich­breaksbox­boundaries"
...it works, as long as only used in HTML.
with
[Labels]
[[Generic]]
rain = Nieder­schlag
I get into minor trouble, because the entity is not escaped when rendering
Images:
[image: 2023-03-06 10_23_52-Greenshot Editor.png]
How can I solve this without specifying it two times? I refer to the Label
both, in HTML and the image, but need to let the browser hyphenate it und
certain circumstances in an adaptive layout.
Or, is specifying it two times the way to go, since these are distinct
elements, and they are just the same string?
--
You received this message because you are subscribed to the Google Groups
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/0ebd7944-6b62-4afa-b210-93f70e8f0cdcn%40googlegroups.com.