standardising paragraph handling