Always leave some blank lines between the thanks-Tags and the Link if you place it all after another, then it probably could get automatically merged by the Editor, so the thanks-Tag becomes a part of the link, so both functions will not work!
something like:
thanks-Open-Tag
Content to thanks
thanks-Close-Tag
and not:
thanks-Open-TagContent to hideHIDE-Close-Tag