Encode your html code on fly to use in your html pages