Added a fix for href attributes without leading '#'