Syntax error when using em dash in section heading with Dawn

The table of contents navigation Dawn provides in the top right corner of every post is a great feature, but when I use an em dash in a section heading I get an error in the javascript console if I try to use the link to that heading, for example Uncaught Error: Syntax error, unrecognized expression: #but-%E2%80%93-wait

Example here.

(Setup: out of the box DigitalOcean 1-click app, Ubuntu 18.04.4, Ghost version: 4.3.3)

Hey @stuwest, this has just been fixed in this commit. Thanks for reporting :slight_smile:

1 Like