Fixed EZP-20554 - xmltext_to_html5 doesn't properly pass along template variables for embeds

Closes #260
For the whole discussion, please refer to the PR above.