One of my client's websites started randomly showing these strange little "L" characters in random areas of paragraphs. This is happening for her in Chrome and in IE. When I check it, however, I don't see them at all and everything looks fine. Anyone know why this would be happening? I've included a photo she sent me.
The site is www.shortandsuitebnb.com
See photo of issue here
I can see it too - on my browser(Chrome), on the hosts page, there is a broken character in the text, '', which is ASCII ETX, hex 0x03. It's present in the network tab too, so it is not a local issue.
Are you using Photoshop? From what I see online, people have issues copying text from it introducing control characters like this.
https://codeandsend.com/blog/email-photoshop-and-invisible-characters/
Now when SHIFT+ENTER is clicked, behind the scenes, Photoshop adds an
invisible character called ETX into the text. If the text is copied
into other software, ETX is retained and can cause trouble.
https://our.umbraco.org/forum/developers/api-questions/22859-invalid-character-server-stack-error#comment-113512
I had this issue in 6.05 - It was a copying/pasting from Photoshop
issue as well. I just copied the text into sublimetext. It showed up
the ETX chracter that caused the issue. Deleted it and pasted
back...and it works.
Try pasting the text into an editor like Sublime Text which shows the control characters, delete them, and then paste them into Wordpress or whatever you are using for the site.
Related
I maintain a website that uses WordPress. From time-to-time, one of my associates opens a page in the browser, highlights some text and images, and copy/pastes it into Microsoft Word, in order to provide summaries of content to one of our higher-ups.
Ordinarily, this would be an uneventful task. However, this process is now not working. When we highlight, then copy/paste content from a page, the text will transfer over to Word, but the images will not. We simply see an empty rectangle where the images should be. A screenshot, demonstrating that web page content that is copied, displays as nothing more than an empty rectangle when pasted.
This behavior is consistent across IE, Chrome, Opera, and Firefox. This problem occurs whether we use Microsoft Word or OpenOffice Writer. No updates were made to Word or our browsers during this time.
Of course, we want the images to display in Word, rather than empty rectangles. What can we do to make the images display in Word?
Insert image from your local system if problem persist, then its your Word issue. If local images are showing perfectly then just save a copy of image from online resource to your local system and add images from there. may be its just because of word is taking online reference for image and could not connect to internet to resolve them and showing you broken image. or the image you are adding is not supported by the older version of word such as .svg graphics. make sure you are adding images with .jpeg/jpg , .png, .gif file extension.
Why do all new WordPress posts with a graphic or link show the corresponding HTML code instead of the image or link?
When I create a new post I use the visual editor, and I press Add Media, then select a graphic that I have uploaded, and the graphic shows as expected in the visual editor. I then press Preview and the full “img” HTML text shows in the preview window instead of the graphic. When inspecting the Preview window’s img element, it has quotes around the whole img element, thus treating it as text. The same issue happens when inserting a link – the full “a” HTML text is displayed.
This happens for me on the the default install of WP 4.7.3. Installed WP 4.7.3 to a fully patched Windows 7 64-bit PC. Apache 2.4.23, PHP 7.1.3, MySQL 5.7.15 with utf8mb4_general_ci collation (also tried utf8_default_collation). No plugins are active (I only have the 2 default plugins installed). No themes other than 3 default, and Twenty Seventeen is active. Using Chrome 57/Safari/Firefox all do the same thing.
I’ve installed on another Windows PC and get the same issue. If I press Add Media and add the graphic, then switch to the text editor, it shows the “img” element text correctly in the editor. When I preview this text view or publish it, it shows the full “img” element as text just like publishing from the visual editor view. If I manually enter an “a” link element, it shows the full “a” HTML not just the link’s visible text. All these scenarios show the HTML instead.
Restarted Apache, cleared cache, checked all Apache and PHP logs and no errors show in Chrome console.
I found this problem was caused by the filter setting in the php.ini file. From a previous PHP application the following setting was set:
filter.default = full_special_chars
This wrapped the post information in quotes. Commenting out this setting solved the problem.
I'm building a website using x-cart and all of a sudden I'm getting this line of code appearing at the top of the page.
class="area-c skin-customer skin-XC_ColorSchemes-customer skin-theme_tweaker-customer authorized target-main no-sidebars">
While navigating through the webmaster mode theme tweaker, it appears this line shows up outside what I would expect in the content (that is, when I click on regular page content the relevant file in theme tweaker is highlighted yet nothing happens when I click the code).
Any advice on clearing this away would be greatly appreciated, thanks!
So it turns out in one of my template files there was an if condition followed by a class without an opening bracket.
I think the reason I hadn't spotted this is that rather than matched the text above, the code read along the lines of
case="{function.doThis()}>
When I try and create an HTML email signature and choosing it as my signature in Outlook the resulting display is horrendous. It literally ignores all the inline styles I specify on my text (eg, font-size:13px) and appears to enlarge things by about 66%. Even when I use the signature editor, my images end up enlarged. All the content lives inside a table layout.
I've tried many fixes from around the web, including opening the HTML in a browser and selecting all, then copying and pasting into the editor window. Even when I insert the image via the editor, it still comes out at that bigger size on the receiver's end. I've tried adding additional headers too.
I'd appreciate any input to help me solve this. The signature works fine in Thunderbird.
Check out http://cancerpreventionnetwork.org/participants.shtml and you can see that the header is dropped down on this page. If you click on any other page, the header is not dropped like that. I have tried everything and I can't figure out what is causing this.
When I check the page in Chrome with inspect element, I see an extra text node. I can't see it in the source, but maybe you can?
seems to me that it's the classic UTF8 BOM encoding problem
you need to check all your source files and make sure that they are not encoded using the BOM.
there are many ways to remove it. I use notepad++ but there might be an automated tool or some shell code to remove the BOM for multiple files
and also.. if you're including files (templates) make sure that they don't have white spaces or new lines after the ?>
Good Luck