Converts HTML to amber template