Fixes regexps for preparing links.
Slight modifies headline attributes.