[wp-hackers] WordPress Uses "Wrong" Apostrophe in Blog Title
Otto
otto at ottodestruct.com
Wed Jul 11 16:19:58 GMT 2007
Wouldn't it make a lot more sense to change the filter so as not to
modify things inside pre or code tags?
On 7/11/07, Geoffrey Sneddon <foolistbar at googlemail.com> wrote:
>
> On 11 Jul 2007, at 07:09, Rob Miller wrote:
>
> > but why on earth would you go out of your way to change WordPress's
> > behaviour from correctly using smart quotes to only using dumb ones?
>
> Blog posts consisting of code. If you replace neutral apostrophes
> with curved ones in PHP, you end up with parse errors, meaning anyone
> wanting to use the code has to go through and modify it. Also, there
> are probably other bugs in the code.
>
> It isn't really going out of your way anyway, as you just have to
> remove a default filter.
>
>
> - Geoffrey Sneddon
>
>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
More information about the wp-hackers
mailing list