avoid img and canvas tags