Fix assertion when a link has no content
Merge pull request #34 from mdiep/fix-empty-link

Fix assertion when a link has no content