#JC-1317 if parent not null and prettify container is child of parent than do Prettify. If parent == null then do prettify to all pretttify container