Home | Syndication | Delicious | Douban | Twitter | FriendFeed

WordPress 的过度转换

用了一段时间的 WordPress,总体感觉很好,是一个不错的个人 blogging 工具,但是 WordPress 对于特殊字符的处理似乎有点过于小心了,比如在命令行中经常有的 "--" , WordPress 在呈现时会将其替换成 "–" ,这样在浏览器中展示的就不再是两条短线、而是一条略长的线了 "–" ,丧失了其原义。所以,我修改了一下 functions-formatting.php ,注销了转换的几行,在我使用的 WordPress 2.0.5 版本中,是第13、14、15行。

类似这样的问题还不少,比如单引号也如此,相应地,我注销了第31、36行。

This entry was posted on Thursday, January 11th, 2007 at 18:42 and is filed under TechNotes. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Reply