Updated <p> template to process included URLs