Item11198: SUBST not handling empty text properly
Priority: Normal
Current State: No Action Required
Released In: n/a
Target Release: n/a
I am trying to use %SUBST to translate space characters to non-breaking spaces.
%SUBST{text="an expression ..." pattern=" " format=" "}%
This works well if the expression resolves to a non-empty string, however if the expression resolves to an empty string, trouble ensues:
%SUBST{text="" pattern=" " format=" "}%
EXPECTED: empty string
ACTUAL: It include the topic being viewed in the output of the SUBST call.
Can't reproduce anymore. Seems fixed by now. Please reopen in case the error still persists.
--
Main.MichaelDaum - 09 Sep 2016 - 09:36