Inocrrect Line Joining
- usbpoweredfridge
- Posts: 410
- Joined: Fri Jan 17, 2014 11:08 pm
- Contact:
Inocrrect Line Joining
I have found a piece of text that when clipped, produces a slightly incorrect result:
http://www.qdb.us/30938
Highlight from "#30938" to "female." and clip it, and the last line (beginning "Comment") is joined to the end of the second last line.
Chris
http://www.qdb.us/30938
Highlight from "#30938" to "female." and clip it, and the last line (beginning "Comment") is joined to the end of the second last line.
Chris
- CintaNotes Developer
- Site Admin
- Posts: 5002
- Joined: Fri Dec 12, 2008 4:45 pm
- Contact:
Re: Inocrrect Line Joining
Hi Chris,
thanks for the report.
Can't reproduce in Chrome. Which browser you are using?
thanks for the report.
Can't reproduce in Chrome. Which browser you are using?
Alex
- usbpoweredfridge
- Posts: 410
- Joined: Fri Jan 17, 2014 11:08 pm
- Contact:
Re: Inocrrect Line Joining
Firefox (v36.0.1). Also have clipping.format.rtf.enabled = 0
I didn't consider different browsers - tried in IE, and it works ok there, but definitely not in Firefox (don't have Chrome installed so can't test it).
Chris
I didn't consider different browsers - tried in IE, and it works ok there, but definitely not in Firefox (don't have Chrome installed so can't test it).
Chris
- usbpoweredfridge
- Posts: 410
- Joined: Fri Jan 17, 2014 11:08 pm
- Contact:
- CintaNotes Developer
- Site Admin
- Posts: 5002
- Joined: Fri Dec 12, 2008 4:45 pm
- Contact:
Re: Inocrrect Line Joining
Thanks for the additional info!
Do you have clipping.trimwhitespace on?
Does the bug go away when you turn it off?
Do you have clipping.trimwhitespace on?
Does the bug go away when you turn it off?
Alex
- usbpoweredfridge
- Posts: 410
- Joined: Fri Jan 17, 2014 11:08 pm
- Contact:
Re: Inocrrect Line Joining
Yes, clipping.trimwhitespace = 1 is set, but changing it to 0 has no effect. Just to rule it out, I also set clipping.format.rtf.enabled = 0 back to the default (ie 1), but it had no effect either.
- usbpoweredfridge
- Posts: 410
- Joined: Fri Jan 17, 2014 11:08 pm
- Contact:
Re: Inocrrect Line Joining
I might try clipping this page again when Firefox v37.0 lands - they apparently fix a 14 year old line ending copy/paste bug in that version:
https://bugzilla.mozilla.org/show_bug.cgi?id=116083
It may - or may not - fix this specific problem I have, will have to wait and see. The issue appears to not be a CN bug at least - if I paste that text into a text editor, the same thing happens as it turns out (any page on qdb.us that uses the 'Comment' tag at the end of the quote is affected, it isn't just the single example page I posted).
Chris
https://bugzilla.mozilla.org/show_bug.cgi?id=116083
It may - or may not - fix this specific problem I have, will have to wait and see. The issue appears to not be a CN bug at least - if I paste that text into a text editor, the same thing happens as it turns out (any page on qdb.us that uses the 'Comment' tag at the end of the quote is affected, it isn't just the single example page I posted).
Chris
- CintaNotes Developer
- Site Admin
- Posts: 5002
- Joined: Fri Dec 12, 2008 4:45 pm
- Contact:
Re: Inocrrect Line Joining
Chris, sorry for the delay!
I did some investigation and now I think the reason is an unfortunate HTML formatting.
First of, please observe that when you copy-paste this block from FF to Notepad, the same effect occurs.
This is due to the fact that the quote is formatted with a SPAN tag with "display:block" style.
Apparently Firefox ignores the "display" style when converting this to plain text, and joins it with the text that goes after.
Probably things will get better when CN learns to parse HTML, but for now nothing could be done here, sorry!
I did some investigation and now I think the reason is an unfortunate HTML formatting.
First of, please observe that when you copy-paste this block from FF to Notepad, the same effect occurs.
This is due to the fact that the quote is formatted with a SPAN tag with "display:block" style.
Apparently Firefox ignores the "display" style when converting this to plain text, and joins it with the text that goes after.
Probably things will get better when CN learns to parse HTML, but for now nothing could be done here, sorry!
Alex
- usbpoweredfridge
- Posts: 410
- Joined: Fri Jan 17, 2014 11:08 pm
- Contact:
Re: Inocrrect Line Joining
Sure, thanks. For the moment, I will just have to be aware when I clip a note from the qdb site that includes a 'comment' line, and manually adjust it when I do (ie cursor to the 'comment' and hit Enter).
Chris
Chris
- CintaNotes Developer
- Site Admin
- Posts: 5002
- Joined: Fri Dec 12, 2008 4:45 pm
- Contact:
-
- Posts: 234
- Joined: Fri Nov 08, 2013 5:35 am
- Contact:
Re: Inocrrect Line Joining
usbpoweredfridge wrote:I might try clipping this page again when Firefox v37.0 lands - they apparently fix a 14 year old line ending copy/paste bug in that version:
https://bugzilla.mozilla.org/show_bug.cgi?id=116083
It may - or may not - fix this specific problem I have, will have to wait and see. The issue appears to not be a CN bug at least - if I paste that text into a text editor, the same thing happens as it turns out (any page on qdb.us that uses the 'Comment' tag at the end of the quote is affected, it isn't just the single example page I posted).
Chris
Firefox 37.0 showed up for me today.
- CintaNotes Developer
- Site Admin
- Posts: 5002
- Joined: Fri Dec 12, 2008 4:45 pm
- Contact:
- usbpoweredfridge
- Posts: 410
- Joined: Fri Jan 17, 2014 11:08 pm
- Contact:
Re: Inocrrect Line Joining
Sadly not - still present with v37.0.1. Oh well, at least I am now aware of the problem and can manually adjust it when I come across further text like it.
Chris
Chris
- CintaNotes Developer
- Site Admin
- Posts: 5002
- Joined: Fri Dec 12, 2008 4:45 pm
- Contact: