Fix problem (kdweeks) where internal page links can overlay footnote headers

Scanning was for #(.*?):(.*?)# which was swallowing too much text when a
link occurred on a line with a footnote header / back-reference.

Changed the scan to #([^'>]*?):(.*?)# so it won't apply to other # on the line
Merge pull request #59 from wf49670/develop

Fix problem (kdweeks) where internal page links can overlay footnote hea...