When you publish a post or update an already published post, this plugin will
format the post's content to certain typographic rules:
- All hyphens between two words (surrounded by spaces) will be transformed to
m-dashes with the non-breaking spaces ahead of them.
- All hyphens between digits (without spaces) will be transformed to n-dashes.
But it tries to preserve phone numbers.
- All spaces following these words will be replaced with the non-breaking
spaces:
- at
- or
- and
- the
- a
- an
- in
- on
- of
- for
- to
- as
- i
- or
- my
- Double and more spaces are replaced with the single ones.
- All misplaced spaces near dots, commas, semicolons, colons, exclamation
marks and question marks are fixed, where possible.
- Composed words with hyphens in them (e.g. "easy-to-use") will be wrapped in
tags.
Porblems:
The plugin won't mess with the HTML tags or other mark-up tags delimited
with < and >. It will mess with the Javascript code and such constructions
as:
[code]
bla bla bla
[/code]
Though, since version 6 the mess is minimized for [code] and [video] tags.
The n-dash thing will mess up with the phone numbers that have only one
hyphen in them. They will be confused with the value ranges.