Priority: Enhancement
Current State: New
Released In: n/a
Target Release:
--
ChristianKern - 11 Jun 2020
In Foswiki, when setting a variable, you may easily end up with values
containing trailing blanks. For example, by writing
Set␣SKIN␣=␣bla,blubb␣
,
you get a value of SKIN which has a blank at the end.
Usually, you won't even notice that "mistake" since it has no negative side effects.
But: In System.PatternSkinCssCookbookSidebarToggle there's a line
Your current SKIN setting is =%SKIN%=
When the value of SKIN ends with a blank, then you don't get your
text in monospace font, instead you see the "=" characters:
Your currrent SKIN setting is =bla,blubb =
I propose replacing "=%SKIN%=" with "<pre>%SKIN%</pre>".