NXP-15367: correctly escape document title and path