Skip to content

Export fails if pin description is null #16

Description

@ArtBIT

I tried exporting my collection and the script resulted in an error:

VM800:177 Uncaught TypeError: Cannot read properties of null (reading 'replace')
    at escapeHtml (<anonymous>:177:19)
    at <anonymous>:199:186
    at Array.forEach (<anonymous>)
    at done (<anonymous>:198:14)
    at parseFeed (<anonymous>:136:7)
    at xhr.onload (<anonymous>:147:9)

After some debugging, it turned out one of my pins had null description.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions