This is not caused by the gt or lt signs. You need to put the whole text between double quotes to make it text. Also you need to escape the quotes within the text.
"<a href =\"http://development-stage.myshopify.com/pages\">"
So skip the quote function, it is a drag that does not work. Thank you!
The quote function works perfectly when correctly used.