Topic - Embedding a "plus" sign in the forum
Topic - Embedding a "plus" sign in the forum Topic - Embedding a "plus" sign in the forum
from forum 1060 Forum
 forum index   my profile   search 
 new topic  post reply 
moderators: pjr tab
Embedding a "plus" sign in the forum
Joined: 15-February-2005
Posts: 127
Location: Fort Collins, CO
Posted: 16-March-2008 12:50
I would like to embed the "+" (plus sign) in a forum entry.

As you can see (above) it is not appearing.

What is the escaping mechanism?

Randy
AJAX only bug
Joined: 7-February-2005
Posts: 397
Location: UK
Posted: 16-March-2008 20:06
Randy - that's a bug in the javascript for the AJAX preview of the forum entry.  The encoding of the plus gets turned into a space because it uses the URL encoded built into JS.  It needs some corner case code.  But actually its only the preview that sees the space - if you look atyour entry you'll see the + - just like this one.

P

PS Probably a very simple fix just no time to look at it.  THe source code is provided with NK if you fancy exploring it.
+ + + Fixed + + +
Joined: 7-February-2005
Posts: 397
Location: UK
Posted: 26-March-2008 15:44
It was a very simple fix - just needed the java script to escape the +
 new topic  post reply  To find out about new replies to this post as they occur
please subscribe to one of these feeds:
AtomRSS moderate 
© 2003-2006, 1060 Research Limited. 1060 registered trademark, NetKernel trademark of 1060 Research Limited.