* Rhesa Rozendaal <rh...@xs4all.nl> [2005-10-18 02:25]: > Luke Kanies wrote: > >I just want to point out this software, since it seems so topical: > > > >http://www.michelf.com/projects/php-smartypants/ > > If that can handle things like: "Foto's en agenda's" properly, > then it's smarter than Word. That source of hate turns those > apostrophes into single-quotes, as if "s en agenda" is a > paraphrase.
With Foto's en agenda's it produces Foto’s en agenda’s so it passes that test. In fact, with 'Foto's en agenda's' I get ‘Foto’s en agenda’s’ so yeah, it’s smarter than Word. At least that’s what I get using the original Perl version of SmartyPants: http://daringfireball.net/projects/smartypants/ It’s from the same author who designed Markdown and wrote the original implementation. The online converter for Markdown has a “Filter” option that runs only SmartyPants over the given text, so you can check for yourself what it does with any given input: http://daringfireball.net/projects/markdown/dingus (Which is what I used to do the above tests.) Regards, -- Aristotle Pagaltzis // <http://plasmasturm.org/>