I am trying to send an email but the email is not recognizing the output when stored in a string variable.
The result from sending email:

Code that is stored in string variable:
<p><a href="@{outputs('Compose_Link')[0]}">@{split(outputs('Compose_Articles')[0], outputs('Compose_Newline'))[2]}</a><br /><em>@{trim(split(outputs('Compose_Articles')[0], outputs('Compose_Newline'))[0])}, @{split(outputs('Compose_Articles')[0], outputs('Compose_Newline'))[1]}<br /></em>@{split(outputs('Compose_Articles')[0], outputs('Compose_Newline'))[3]}</p>
Code if manually typed in email body (result I want to get):

How can I go about having the email to recognize my outputs without manually copy-pasting in email?