diff --git a/js/common/modules/org/arangodb/foxx/preprocessor.js b/js/common/modules/org/arangodb/foxx/preprocessor.js index 82753c8699..cb2e36efc0 100644 --- a/js/common/modules/org/arangodb/foxx/preprocessor.js +++ b/js/common/modules/org/arangodb/foxx/preprocessor.js @@ -128,7 +128,8 @@ extend(Preprocessor.prototype, { replace(/^(.*?)\*\/.*$/, '$1'). // end of JSDoc comment replace(/^\s*\*/, ''). // continuation of JSDoc comment replace(/\\/g, '\\\\'). // replace backslashes - replace(/"/g, '\\"'); // replace quotes + replace(/"/g, '\\"'). // replace quotes + trim(); // remove leading and trailing spaces }, isJSDoc: function (str) {