truncate text without images