Closed trieloff closed 3 years ago
Looks good to me 👍 , thanks. Did you see this much in the wild?
going to take the opportunity to add semantic release before merging this, will look at that now.
This issue kept the https://github.com/adobe/helix-embed/pull/345 build failing for a month. Not something that affected production because we use an additional oembed provider, but definitely annoying – and youtube is probably one of the top three embedding targets.
:tada: This PR is included in version 5.2.1 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
This is a fix for #67
It will only stop parsing after seeing the closing
head
tag if atitle
has been found, otherwise it assumes the HTML has been written with less care and as a consequence, the entire document will be scanned for metadata clues.