Menu

#579 Fix escaping of exports

6.8.0
closed
None
Unknown
Bug
Unknow
Unknow
Unknow
2024-02-01
2023-06-28
No

Exporting a resource with & and < characters shows double escaping for EndNote and probably a wrong HTML escaping for RIS. See resource Alismabase.

5 Attachments

Related

Discussion: v6.8.0 roadmap - released
News: 2024/01/wikindx-v680-release-candidate-1
News: 2024/02/wikindx-v680-release-candidate-2
News: 2024/02/wikindx-v680
Bugs and feature requests : #607

Discussion

  • Stéphane Aulery

    Hi Mark,

    I tested exports and the HTML is not well escaped. If you import the bib file attached you could reproduce an exemple with a single resource. This resource show the error with a title (& and < not well escaped, but most of resource fields are not well escaped by this formater. THis is right for exports and the results of sears and lists.

    I need tyou help to fix this because I don't know the formater well.

    Regards,

     
  • Mark Grimshaw

    Mark Grimshaw - 2024-01-12
    • assigned_to: Stéphane Aulery --> Mark Grimshaw
     
  • Mark Grimshaw

    Mark Grimshaw - 2024-01-12

    Will look at it and the others today.

    Mark

     
    • Stéphane Aulery

      The exports in the attachment do not necessarily correspond to the current state but with the bib you can import the resource. Thanks.

       
  • Mark Grimshaw

    Mark Grimshaw - 2024-01-12

    As far as I can see:
    bibTeX import is fine
    HTML export is fine
    RTF export is fine
    RIS export: HTML entities (AlismaBase: Le piège de l'esperluette (&amp;) et du signe inférieur (&lt;)), strange authors (not part of original import), and strange URLs (not part of original import)
    Endnote export: Same issues as RIS (note, different extra authors added).

    Anything I've missed?

    Mark

     
    • Stéphane Aulery

      Do not consult the contents of the files, they are out of date. Use the bib file to import and then export again. I have already made some escaping corrections.

      Yes, RIS is wrongly escaped for HTML.

      I already fixed EndNote export.

      HTML is broken now.

       
  • Mark Grimshaw

    Mark Grimshaw - 2024-01-13
    • status: wip --> pending
     
  • Mark Grimshaw

    Mark Grimshaw - 2024-01-13

    Should be fixed now.

     
  • Stéphane Aulery

    • status: pending --> closed
     

Log in to post a comment.