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 frown

It turns out that
%<nop>RED% :-( %<nop>ENDCOLOR%
WILL render in foswiki (but not twiki) frown .

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

ItemTemplate edit

Summary SmiliesPlugin confused in colored text
ReportedBy TimotheLitt
Codebase
SVN Range Foswiki-1.0.0, Thu, 08 Jan 2009, build 1878
AppliesTo Extension
Component SmiliesPlugin
Priority Low
CurrentState Confirmed
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn
Topic revision: r2 - 24 Jun 2010 - 09:15:48 - MichaelTempest
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons LicenseGet Foswiki at sourceforge.net. Fast, secure and Free Open Source software downloads