added unescaped markup feature by using scalar refs