Only insert slugs where paragraphs are allowed

Otherwise slugs are inserted into empty table rows and pawn
madness follows.

Bug: 53214
Change-Id: I1b5731028643813a77a109f8fbba1cb8ee6a8906
Merge "Only insert slugs where paragraphs are allowed"