FHIR Chat · line break in title · IG creation

Stream: IG creation

Topic: line break in title


view this post on Zulip Jose Costa Teixeira (Apr 07 2020 at 15:57):

Can we add a line break in the IG's title? I have a project called "PROJECT 123 - Hodor, hodor, hodor, hodor hodor. Hodor hodor Hodor...."

view this post on Zulip Jose Costa Teixeira (Apr 07 2020 at 15:57):

i'd like to split the PROJECT 123 and the rest

view this post on Zulip Jose Costa Teixeira (Apr 07 2020 at 16:13):

found it - just added an escaped <br/> in the title:

PROJECT 123 &lt;br/&gt; Hodor, hodor, hodor, hodor hodor. Hodor hodor Hodor....

view this post on Zulip Lloyd McKenzie (Apr 07 2020 at 16:34):

The fact that works suggests we're not doing proper escaping when extracting title values and spitting them out - because it would presumably then blow up if you had a bare '&' in your title. So don't expect that to work for long...

view this post on Zulip Jose Costa Teixeira (Apr 07 2020 at 16:36):

yes, and it doesn't work in the publish box. Is it possible to do something about that?

view this post on Zulip Jose Costa Teixeira (Apr 07 2020 at 16:37):

(simple things like adding spaces, non-breaking spaces, or whatever. This is a minor cosmetic thing, not worth doing any configuration changes)

view this post on Zulip Lloyd McKenzie (Apr 07 2020 at 16:44):

Title is defined in the IG as a string - which means it's not markdown and white-space can (and will) be normalized when rendering in HTML. There are extensions that allow expressing strings in markdown or HTML. We could explore support for those if necessary I guess.

view this post on Zulip Jose Costa Teixeira (Apr 07 2020 at 16:52):

if we need to change tooling I don't think it is worth it for now.

view this post on Zulip Jose Costa Teixeira (Apr 07 2020 at 16:52):

(at least for this IG)

view this post on Zulip Grahame Grieve (Apr 07 2020 at 21:06):

right looks like a bad idea. Come up with a better name

view this post on Zulip Jose Costa Teixeira (Apr 07 2020 at 21:28):

I will ask, but it's the official project name:
EFRO 1302: Digitale Zorg ondersteuning in Limburg voor Vlaanderen

view this post on Zulip Jose Costa Teixeira (Apr 07 2020 at 21:28):

Actually that is the short version

view this post on Zulip Jose Costa Teixeira (Apr 07 2020 at 21:28):

:)

view this post on Zulip Grahame Grieve (Apr 07 2020 at 21:32):

the come up with the shorter version for every page and the banner, and just put that long title on the home page at the top

view this post on Zulip Jose Costa Teixeira (Apr 07 2020 at 21:36):

Will do, thanks


Last updated: Apr 12 2022 at 19:14 UTC