You are here: Foswiki>Tasks Web>Item1775 (27 Feb 2014, MichaelDaum)Edit Attach

Item1775: SmiliesPlugin confused in colored text

pencil
Priority: Low
Current State: No Action Required
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: SmiliesPlugin
Branches:
Reported By: TimotheLitt
Waiting For:
Last Change By: MichaelDaum
The SmiliesPlugin doesn't always render shortcuts when in colored text or near punctuation.

For example, :-( should be a frown, sad smile

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

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
 

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 No Action Required
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
Release01x01Checkins
Topic revision: r3 - 27 Feb 2014, MichaelDaum
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy