get_all_tag_names() now accounts for the newline character

Bug fix.