We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Quotes and invisible characters (from Word) mess up page

Development and Programming

Terralemon's avatar
Terralemon
14 posts
7 years ago
Terralemon's avatar Terralemon

My client pastes the title of an entry into the title field of EE3. They initially write their articles in Word so they copy-paste from it.

Unfortunately invisible characters or quotes are being added. They mess up our page in the website (a }” is being added.

Can somebody please help us getting rid of this problem and make sure we get only clean titles so we can close this ‘bug’?

Best regards,

Harold (Terralemon)

       
SPC-Lesli's avatar
SPC-Lesli
30 posts
7 years ago
SPC-Lesli's avatar SPC-Lesli

Well, you could have an admin check the posts before they’re sent live and clean out all junky characters. And you could probably also have said admin do a search-and-replace.

However, I think that it’s going to be easiest to train the users.

After they’ve written their text in Word, have them copy-paste everything into Notepad (or any other simple text editor.) Then copy-paste from there to EE. Otherwise, you’ll always get some of the cruft and gunk that Word puts into text.

       
Derek Jones's avatar
Derek Jones
7,561 posts
7 years ago
Derek Jones's avatar Derek Jones

Two other options:

  • turn off “Replace as you type” features in Word
  • paste with Shift+Ctrl+V (Paste Special) instead of just Ctrl+V, selecting “Text only” and “Convert smart quotes to straight quotes”
       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.