HTML include StartFragment EndFragment [solved]

When I copy-past text from firefox to zotero notes it was embedded in tags StartFragment EndFragment .

It seems to only affect Zotero addons: I dont get these tags in a note created in the standalone, or in by pasting in online editor (quackit.com).

I solved it by setting the dom.event.clipboardevents.enabled to false (not sure if it's a good idea, but it works)

These useless tags did bother me for instance, when I created a note and past a text, I could not add something before the pasted text (I needed to delete the tag in the source code to add something else). And these tag were also adding useless data in the DB.

I just though it could be interesting for the Zotero team to know about this.
  • edited December 10, 2016
    Can you provide a Report ID and exact steps to reproduce, including the URL of the page you're copying from? We've never seen this before.
  • Actually, never mind — I can reproduce this on Windows. I'm not sure if this is a new issue — I just noticed this showed up in one other report from a few days ago, but nothing before that. We'll investigate.
  • Sorry for the delay of reply. Thank you Dan.

    By the way setting the dom.event.clipboardevents.enabled to false create some issue on Firefox with the copy past. I can't for instance copy/past anymore in/from a google doc.
  • I started having this same issue once I upgraded to Windows 10. Now, anytime that I cut and paste HTML into a Zotero note, the underlying HTML block is prefaced with

    <p><!--StartFragment--></p>

    and terminated with

    <p><!--EndFragment--></p>

    This behavior is undesirable because it interferes with the formatting of my note, wherein the note preview, which is typically the first line of the note, does not show up. I have to fix it each time by opening the note, viewing the HTML, and then removing these lines from the beginning and the end of the note.
    1. Is this issue a Zotero problem or a Windows 10 clipboard problem?
    2. Do you have any suggestions for me?
    ITEMVALUE
    ZoteroStandalone App, ver 4.0.29.17
    OSWindows 10 Home, ver 1073
Sign In or Register to comment.