diff --git a/src/controllers/PublicController.ts b/src/controllers/PublicController.ts index 061debc..47a8fa4 100644 --- a/src/controllers/PublicController.ts +++ b/src/controllers/PublicController.ts @@ -51,7 +51,7 @@ export default class PublicController { return { _id: o._id, name: version.name, - description: version.descriptionShort.replace(/\n/g, ' '), + description: version.descriptionShort.replace(/\n/g, ' ').replace(/\"/g, '\\"'), thumbnail: version.thumbnail.key, tags: version.tags === null ? 'tags_not_found' : version.tags, slug: o.get('slugs')[o.get('slugs').length -1]