fixes #19: link and title is empty when filetype marker exists