issue #3 - Added failing test for incorrect markup when only classes used in string pattern
issue #3 - Fixed incorrect markup when only classes used in string pattern