exercism / bugs

Please use https://github.com/exercism/exercism for reporting bugs.
1 stars 3 forks source link

D programming language syntax highlighting trouble with quotes #22

Closed bkhl closed 1 month ago

bkhl commented 5 years ago

It looks like the syntax highlighting for D can't handle single quotes inside strings:

screenshot

iHiD commented 5 years ago

@bkhl Would you mind testing this on the Prism tester please to work out whether this is a Prism issue (which needs to be opened there) or something on the Exercism website. Thanks :)

bkhl commented 5 years ago

Yes, it happens there also:

prism-screenshot

iHiD commented 5 years ago

OK, thanks for checking. So I think you'll need to open an issue at https://github.com/PrismJS/prism - Not much we can do until they fix it.

bkhl commented 5 years ago

There we go, maybe you can add in what version you are currently using there.

iHiD commented 5 years ago

Thanks. @kntsoriano is currently upgrading it actually, so I'll let him do that once that PR is merged.

bkhl commented 5 years ago

I see there's a pull request for a fix already: https://github.com/PrismJS/prism/pull/2029

iHiD commented 5 years ago

Nice!

bkhl commented 5 years ago

I saw that pull request has been merged now.

iHiD commented 5 years ago

@kntsoriano Presuming that PR has also been released, could you upgrade Prism again pls :)

kntsoriano commented 5 years ago

@iHiD Prism hasn't released a new version yet. We'd have to wait as we rely on a CDN.

iHiD commented 5 years ago

OK, cool. Let's keep an eye on it. @bkhl If you notice it gets released, ping us here and we'll upgrade it :)