You are not logged in.
Pages: 1
I'm posting this here 'cos I'm not sure if this is a bug or not! If I type " - " (space dash space) in Xinha my text automatically gets replaces with " ??? ", three question marks! Why? Is this deliberate? I've tried searching through the code but I can't find any reference to this behavious anywhere. Bug?
Offline
Good call ray!
Lines 66 - 68 of smart-replace.js
if(_e==32){
return this.smartReplace(ev,2,/^\s-/," \ufffd\ufffd\ufffd",false);
}
Comment out the line and the strange behaviour stops!
OK so problem solved (I think) - but I'm still not sure why this was occurring. Was this a bug or is there some useful function for this code?
Offline
This is a obviously bug, thanks for spotting it. Instead of the broken characters the hyphen should be replaced by a dash. This seems to be a malicious effect of compressing the code for the release.
I have created a ticket on this topic http://trac.xinha.org/ticket/1329
Offline
Pages: 1