Skip to content

If there are more than 1 <title> elements, all of them are appending to the title key #10

@craigharvi3

Description

@craigharvi3

There is a site that has more than 1 <title> blocks (some of them embedded in a svg).

You can see this here: view-source:https://www.mmafighting.com/2017/7/20/15999892/jon-jones-vs-lyoto-machida-full-fight-video.

The resulting title is: Jon Jones vs. Lyoto Machida full fight video - MMA Fightingclockmenumore-arrow.

Would be better to only look for title elements inside of the head tag.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions