This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Attempts to parse given meta tag's content from given html; | |
* deals with 'standard' and Open Graph meta tags. | |
* | |
* Order of meta tag attributes could be swapped around e.g. can either be | |
* name="..." content="..." | |
* or | |
* content="..." name="..." |