Easier use of span elements for selection formatting

Using span elements in custom templates for formatSelection() requires additional css rules because they inherit styles from the span wrapping the selection; I made a simple change in the CSS rule to avoid this.