Solved problem with hashtags inside markdown links

Solved bug #3692
cc:
@MrZYX