Minor formatting and changes to templates.
Changed the handling and styling of inline anchors.