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
Description
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:
- Create a figure
- Add the En Dash character:
–
to the title and/or axis title - Retrieve the figure via the Node.js SDK
- 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 }