Fixed issue with too many closing parenthesis.

For this a macro is introduced, which replaces the boiler plate of the
emmitting of parenthesis.
The macro will not emmit closing </span> tags, for non-matched closing parenthesis.
Merge pull request #4 from woudshoo/close-paren-issue

Fixed issue with too many closing parenthesis.