Fix paragraph insertion testing tags by unanchored regex