Corrected bug on paragraphs : <p> can't contain <div>. Using next() instead