fix markup order (fixes issues after #5)

this fixes issues after PR #5
Merge pull request #6 from christianseel/patch-1

fix markup order (fixes issues after #5)