Change the order to process embeds before inline