"pre" blocks broken if not signed in
-
Posted this a moment ago, but, despite the “allowed markups” list not including “pre”, it apparently didn’t escape a bunch of my HTML, and stripped out part of my title, so trying this again…
My blog post is not correctly displaying text in “pre” blocks for visitors who are not signed in to WordPress.
Blog post: https://jimbesser.wordpress.com/2014/10/20/its-node-js-all-the-way-down/ search for ‘handleError’ and if I’m signed in, the next line correctly says
console.error('ERROR', new Date(), e);but if I’m signed out (or someone else views the page) it readsconsole.error('ERRORew Date(), e);. There are dozens of other places on the page where this kind of thing is happening, making it look like I don’t know how to code! =)It appears that any time there is text in the form of
.foo('bar'or.foo('bar, it is deleting the closing quote or space, and a number of following characters! In the HTML, it’s inserting something like<span class='skimlinks-unlinked'></span>around the text that it butchers, so presumably something programmatic is going awry.The blog I need help with is: (visible only to logged in users)
-
I have tagged this thread so that it can be addressed by a staff member. Please make sure you are subscribed to this thread so that you know when the staff member responds. You can subscribe by clicking the “Subscribe to Topic” link on the right.
-
They’re working just fine for me, both logged in and logged out. Here’s what I see when logged out: https://cloudup.com/cDDErZtYBKv
We haven’t run Skimlinks here in years, so I suspect maybe a compromised browser extension is adding it?
First, please make sure that your browser is up to date by visiting http://whatbrowser.org/
If it is not, please try updating your browser or switching to a different browser.
If it is, please do these two things:
1. Try clearing your browser’s cache and cookies.
2. Try with all browser extensions or add-ons temporarily disabled.
Please let us know how each step goes for you, and which browser (and version of) you’re using if you’re still having trouble.
- The topic ‘"pre" blocks broken if not signed in’ is closed to new replies.