GetCollections and GetPublishableCollections now take a hostname
parameter to allow setting the collecion hostname.
All collections used in memory now have their hostname set.
Previously, our hashtag parser would indiscriminately replace
hashtag-like text with hashtag HTML -- including in places it shouldn't
have, like inside code blocks. Along with the v1.7.0 changes to
writeas/saturday, this fixes that and closes#6.
As a bonus, strings of #spaceless#hashtags#in#a#row are now rendered
correctly.
This improves rendering in a number of situations:
- it keeps anchor tags working
- it gives the user some control for not linking, for example in code
blocks.
Con:
hashTags at the beginning of a line without a space won't get linked.
Workaround related to issues #42 and #6 and #33