Fixed detection of backticks for links

This should fix [this issue](https://github.com/silverstripe/silverstripe-docsviewer/issues/31)