Fix problem when using base HTML tag
Merge pull request #4 from Stolz/fix_head_base_tag_issue

Fix problem when using base HTML tag