Mass-replace <book>...</book> with [book]...[/book].
Mass-replace <a=#charname>...</a> with [a=#charname]...[/a].
Fix word-wrap not being calculated correctly for text with old-style markup tags.