Media: Fixed documents token markup when embedded by the browser being converted to spans