adds interpolation to HTML nodes