NOTE: If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use
trunk.foswiki.org to view this page for some minimal testing.
Use
Item11383 for general documentation changes for release 1.1.5. Use
Item9693 for docu changes for release 2.0.
Item1775: SmiliesPlugin confused in colored text
| Priority: |
CurrentState: |
AppliesTo: |
Component: |
WaitingFor: |
| Low |
Confirmed |
Extension |
SmiliesPlugin |
|
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