Revising markup for tertiary content to match parent