http://trac.wordpress.org/ticket/2015
 
Well, I took a chance and added a ticket.

 
On 12/1/05, Sean Hayford O'Leary <[EMAIL PROTECTED]> wrote:
Yeah, this is also a problem if you copy-and-paste something from, say, Microsoft Word into WordPress.
 
It's easy to fix (and I apologise -- I'm not comfortable enough with Trac to submit it there). Around line 18 in wp-includes/functions-formatting.php, add:
 
   $curl = str_replace('"', '&#8220;', $curl);
   $curl = str_replace('"', '&#8221;', $curl);
   $curl = str_replace('' ', '&#8216;', $curl);
   $curl = str_replace('' ', '&#8217;', $curl);
   $curl = str_replace(' ', '&#8230;', $curl);
   $curl = str_replace('', '&#8212;', $curl);
 
That should solve most basic problems. If someone wants to add this to the Trac, feel free ;).
 
On 12/1/05, Rick Beckman <[EMAIL PROTECTED] > wrote:
I just noticed in one of my recent comments that if someone posts
"smart quotes" in a comment (for example, by quoting text that
Wordpress has formatted in a post), the quotes are saved as their
actual characters, rather than being converted into entity form. I
remember reading several months ago elsewhere that this could possibly
break certain feed readers?

I'm not sure if it would make it into 2.0, but has any thought ever
been given to automatically saving certain characters as their
entities to preserve compatibility?

--
Rick Beckman
www.Beckman-Ministries.com
_______________________________________________
wp-testers mailing list
[email protected]
http://lists.automattic.com/mailman/listinfo/wp-testers



--
Sean Hayford O'Leary

I'm always online. Check out my personal site [ http://sdho.hayfordoleary.com], design site [http://design.hayfordoleary.com] or HOP [ http://p.hayfordoleary.com] -- my portal project.



--
Sean Hayford O'Leary

I'm always online. Check out my personal site [ http://sdho.hayfordoleary.com], design site [http://design.hayfordoleary.com] or HOP [http://p.hayfordoleary.com] -- my portal project.
_______________________________________________
wp-testers mailing list
[email protected]
http://lists.automattic.com/mailman/listinfo/wp-testers

Reply via email to