You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The markdown formatter that is used for italics and bold formatting of labels, will also format other markup.
E.g. if the label starts with 4 white-spaces, it will be formatted as code (see comment above) or if starts with a - it will add a bullet point.
Probably makes sense to simply strip all white-space from user-entered text.
We could also strip - and then add it back after formatting with markdown, in case user actually wants " - my label".
The text was updated successfully, but these errors were encountered:
Also, user may actually want text_with_underscores not to be formatted as italics. See https://forum.image.sc/t/bugs-with-labels-in-omero-figures/78829.
We could give user the option to disable/enable markdown formatting for a label, but then useful italics etc wouldn't be possible. Better info on how to \_escape_ markdown might help too.
See #481 (comment)
The markdown formatter that is used for italics and bold formatting of labels, will also format other markup.
E.g. if the label starts with 4 white-spaces, it will be formatted as code (see comment above) or if starts with a
-
it will add a bullet point.Probably makes sense to simply strip all white-space from user-entered text.
We could also strip
-
and then add it back after formatting with markdown, in case user actually wants " - my label".The text was updated successfully, but these errors were encountered: