Fixes the path and and the markup for html pages