Are the code examples broken for anyone else?
Are the code examples broken for anyone else?
somefuckinguy
Posts: 1Questions: 1Answers: 0
The Javascript tab of the code samples on this page are rendering for me with HTML tags. Same in Safari and Chrome.
Answers
Are you referring to the examples on this page? The Javascript tab seems to work for me using Chrome. For example:
This is from this [example]https://datatables.net/examples/basic_init/zero_configuration.html).
Please provide a link to an example not working for you and a screenshot.
Also do you get any Javascript errors in the console?
Have you tried Incognito mode?
Kevin
They are broken for me also. Here is a screenshot from the options page.
I can reproduce the issue in Firefox (even in a private tab), but the pages do render correctly for me in Chrome.
@kev22257 I just tried Firefox 146.0.1 (aarch64) on a Mac and the options page renders correctly. Looks like the syntaxhighlighter library is used on this site. I wonder if there is a setting in Firefox that doesn't allow syntaxhighlighter to run.
Kevin
@kthorngren, I am on the same version of FF. Based on that I tried disabling extensions and found that disabling 1Password allows the site to render correctly, very odd.
Found this article, hopefully we get an extension fix. Thanks for taking a look!
Looks like they've fixed it. They were syntax highlighting existing code blocks, regardless of if it was their code block or not! It is eye opening that such a script has full access to everything that one opens with it and such a mistake can creep in, but mistakes happen.
Good to know it has been resolved!
Allan
Thanks for that link! Looks like the update has not made it through Firefox's validation process yet, which explains why it's still broken for me. Also, the release notes for the fix are less than useful...
"We’ve made general improvements and fixed various bugs for a better 1Password experience."
I updated the extension this AM for Firefox (it became available) and we are back in business, thanks again everyone.