Properly escape get_permalink() and the singular post type name.
Merge pull request #3 from JustinSainton/patch-3

Properly escape get_permalink() and the singular post type name. Props @JustinSainton