Item1775: SmiliesPlugin confused in colored text
Priority: Low
Current State: No Action Required
Released In: n/a
Target Release: n/a
The
SmiliesPlugin doesn't always render shortcuts when in colored text or near punctuation.
For example,
:-( should be a
It turns out that
%<nop>RED% :-( %<nop>ENDCOLOR%
WILL render in foswiki (but not twiki)
.
The difference has to do with the shortcut being adjacent to a macro; however, with WYSIWYG, this is not easy for a user to control.
Other punctuation characters also suppress rendering:
If I write
:-( should be a :-(. the period prevents it from rendering.
:-( should be a :-(, if the comma weren't there.
This all kinda makes sense to a programmer, but not to users. Better heuristics are required.
Confirmed --
MichaelTempest - 24 Jun 2010
Just make sure there are white space chars around smilies.
--
MichaelDaum - 27 Feb 2014