add protected method for html paragraph extraction