[CXF-5721] Duplicating single quote if possible