I wish I had a better idea, but I think your solution is as good as
anything I can come up with.

On Mon, Mar 6, 2023 at 1:34 AM michael.k...@gmx.at <
michael.kainzba...@gmx.at> wrote:

> 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&shy;wordwhich&shy;breaksbox&shy;boundaries"
>
> ...it works, as long as only used in HTML.
>
> with
> [Labels]
>     [[Generic]]
>         rain = Nieder&shy;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 weewx-user+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/0ebd7944-6b62-4afa-b210-93f70e8f0cdcn%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/0ebd7944-6b62-4afa-b210-93f70e8f0cdcn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAPq0zEBEzpeaucn4jAgYgDvG6Sk8iXPDCLDVZP_uviDEnh4dEg%40mail.gmail.com.

Reply via email to