Fix assertion when a link has no content

Fixes #33.