Follow-up to 9b999622: don't slug paragraphs that contain just a text node

Bug: 54791
Change-Id: Ide8b5320fae2622085f183c771173ef7190406ed