p tags inside p tags is invalid html.. when these elements got appended this was happening https://www.evernote.com/shard/s3/sh/d52c1034-1500-44c7-9ace-aaf19abe35ac/023eacc254f75b1edcd14cf7fdcb5eec