Re: Double spaces entered wrong. Reply #15 – May 29, 2014, 03:51:20 am There are for sure other places...
Re: Double spaces entered wrong. Reply #16 – May 30, 2014, 12:29:07 am Ema is right, there must be other places as I'm still seeing the problem. As I'm seeing it in posts by other people I still don't know which path(s) is(are) causing it.
Re: Double spaces entered wrong. Reply #17 – May 30, 2014, 03:32:42 am I suspect: preparse, un_preparse (or whatever is called), maybe fixtags, maybe others. emanuele is scared by the number of "maybe" in the previous sentence...
Re: Double spaces entered wrong. Reply #18 – May 30, 2014, 10:52:26 pm The following two javascript files could be the source of the problem too.spellcheck.js: thetext = thetext.replace(/\ \ /g, " \&\n\b\s\p\;");jquery.sceditor.min.js: replace(/ {2}/g," \&\n\b\s\p\;")The excessive escaping is to prevent the editor from eating what I wrote here. it's not really escaped like that in the code.
Re: Double spaces entered wrong. Reply #19 – August 02, 2014, 08:59:01 pm This problem has reappeared in RC2. I notice that neither Subs.php nor either of the scripts have been modified.
Re: Double spaces entered wrong. Reply #20 – August 03, 2014, 04:22:15 am https://github.com/elkarte/Elkarte/commit/49d415388f05448e1057f4fb1651d1f8ed2158b3I think "it" ( ) missed RC2...
Re: Double spaces entered wrong. Reply #21 – August 03, 2014, 12:20:48 pm Ah, I figured it was done a long time back. I'll just have to manually edit sceditor each release. Or add something that does it every time just before a database update of a body.
Re: Double spaces entered wrong. Reply #22 – August 03, 2014, 12:56:06 pm I forgot the spellchecker... I didn't do SCEditor mainly because at the moment we are carrying the minified version (and @Spuds is the SCEditor master anyway).Spuds do you think it may be worth sending a PR to SCEditor for that? After thinking a bit, it seems to make sense in general to replace the first instead of the second. No?
Re: Double spaces entered wrong. Reply #23 – August 03, 2014, 02:19:25 pm I suppose so, yes.Note that we already have a couple of "custom" things in our sceditor version ... I hope at some point those will be added to the editor (they are reported and acknowledged as bugs) so we don't have to continue to carry a custom one. However since we do have a modified version I can add that change to it so we have it available now. Also the next (minor) version did another one of those refactoring efforts so I'm more than a bit wary of moving to it when it goes to current.I have to build out a PR with some minor changes, so I'll add that space tweak.
Re: Double spaces entered wrong. Reply #25 – August 03, 2014, 03:53:34 pm Yeah sceditor is a bit of a liability right now. Sigh.
Re: Double spaces entered wrong. Reply #26 – August 04, 2014, 07:56:27 am Quote from: scripple – August 03, 2014, 03:53:34 pmYeah sceditor is a bit of a liability right now. Sigh.Indeed there are some issues!