Problem: man page example code was truncated at any '@'

Solution: correctly end only for defined tags (@discuss, @end).
Merge pull request #803 from hintjens/master

Problem: man page example code was truncated at any '@'