fixed anchor affecting output file name to avoid overriding search.html