Fix issue with parsing metadata for html5 legacy.
Merge branch 'hotfix/0.6.2'