Skip to main content


So I just wasted a morning trying to debug why the Highlight.js syntax highlighting in Kitten suddenly began to fail only to realise that @1password is stripping the hljs- prefixes from the class names.

You can see this for yourself if you have the 1password extension installed at:

kitten.small-web.org/#the-ubiq…

Load that page with 1password enabled in your browser and you will see that the syntax highlighting doesn’t work and the hljs- prefixes have been stripped.

Disable the 1password extension and load the page again and you will see syntax highlighting working properly.

WTF?!

#1password #browser #extension #highlightJS #Kitten

in reply to Aral Balkan

wow that is frustrating, great job catching it! Really goes to show that web dev is really at the mercy of the weird and wonderful browser setups people have!
in reply to Aral Balkan

How weird and frustrating...

The highlighting works fine for me.

Looking at 1password's about, though, I'm running 8.11.16.35 which appears to be 3 releases out of date, so it probably breaks in a newer release.

Browser on another my machines has 8.11.18.36 and highlighting works there.

Which leaves the 8.11.20 and 8.11.22 updates as likely culprits

in reply to Ben Tasker

@ben Not that it narrows it down any further than you have but I can confirm that the issue doesn’t exist on 8.10.56.28 but does on 8.11.22.27.
in reply to Aral Balkan

Dear friends. Unfortunately, we're dying slowly and suffering from hunger and thirst, and we're asking you to donate five dollars, which means a lot to my family and give you life and hope
gofundme.com/f/56mx4-help-me-t…