Jan Hidders wrote:
How about only doing this replacement if the dashes are immediately preceded and followed by whitespace/newline? Simple rule, easy to understand, easy to implement, doesn't break URLs.
Yes, simple rule, but one that would probably discriminate against many languages.
Timwi