Exclude any p tags not within a section from reference linking