Forum Discussion

takuyahara's avatar
takuyahara
Occasional Contributor
24 days ago
Solved

[BUG] Beta and Nightly extension degrade page's original functionallity

I was looking https://shiki.style/guide/install , an NPM package which provides syntax highlighting and showing detail hovering on keywords. It is expected to be shown and work like this

but is actually shown like this when using a beta or nightly browser extension. There's no issue on normal one.

  • OS: macOS 26.2 (25C56)
  • Browser: Brave v1.85.111

9 Replies

  • takuyahara's avatar
    takuyahara
    Occasional Contributor

    * Marking this discussion as a solution to close *

    1Password team responded on the following discussions and I also received a response from support personally. Their responses are all same "it's known issue and currently investigating" plus "but cannot provide an ETA" on a response I received. And it's not sure if team responds on this discussion when resolved so I close it. Who really needs the issue fixed ASAP might better to use nightly extension which reflects updates the fastest.

    Chrome extension breaks client side code snippet rendering
    1Password Chrome extension is incorrectly manipulating <code> blocks

  • solarizde's avatar
    solarizde
    Frequent Contributor

    Another example from my blog:

    https://solariz.de/posts/23/force_docker_containers_through_vpn_using_gluetun/

    When Enable the 1pass Extension (left screenshot) it modify the code and cause the highlighter not working as before. Extension disabled, right side, works again.

     

  • solarizde's avatar
    solarizde
    Frequent Contributor

    Can confirm. Unfortunately not only in Beta or Nightly, got it in my stable version 8.11.22.27 too.

    Anybody find a workaround? Is there a way to manually install an old extension version?  I need to disable it for now, working in confluence whole day and this is just a mess right now :(   No highlighting, linebreaks damages, escape sequences broken :(

  • tessapower's avatar
    tessapower
    New Contributor

    I'm experiencing this with 1Password for Windows 8.11.23 (81123001 on PRODUCTION channel).

    Currently, the browser extension is messing with the syntax highlighting of my statically generated Jekyll site, with the embedded Prism re-processing the Rouge-highlighted code blocks.

  • takuyahara's avatar
    takuyahara
    Occasional Contributor

    Reverse-engineered quickly, found that the extension uses Prism.js v1 and this introduced a confliction on syntax highlighting. I wonder why extension needs it.

  • takuyahara's avatar
    takuyahara
    Occasional Contributor

    Here are source codes, when used beta or nightly browser extension

    v.s. normal one.

    Hope this helps.

    • pedro's avatar
      pedro
      New Contributor

      Thanks! This was driving me nuts while testing Prism for syntax highlighting on a development environment