fixed for html output on pages. Using raw method where ever html is safe