Skip to content
This repository was archived by the owner on Jun 4, 2024. It is now read-only.
This repository was archived by the owner on Jun 4, 2024. It is now read-only.

Including an "En Dash" in an axis title results in a 500 error on retrieving via getImage #56

Open
@SpencerKaiser

Description

@SpencerKaiser

Bug Description

Adding the En Dash character (, not a dash) to an axis title or a figure title will prevent the figure from being retrieved via getImage.

Repo Steps:

  1. Create a figure
  2. Add the En Dash character: to the title and/or axis title
  3. Retrieve the figure via the Node.js SDK
  4. Observe the following error output:
{ Error: Bad response status code 500
    at ClientRequest.handleResponse (/.../node_modules/plotly/index.js:237:25)
    at Object.onceWrapper (events.js:324:30)
    at emitOne (events.js:125:13)
    at ClientRequest.emit (events.js:221:7)
    at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:550:21)
    at HTTPParser.parserOnHeadersComplete (_http_common.js:117:23)
    at TLSSocket.socketOnData (_http_client.js:439:20)
    at emitOne (events.js:125:13)
    at TLSSocket.emit (events.js:221:7)
    at addChunk (_stream_readable.js:265:12) msg: undefined }

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions