We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0fffa7f commit 98f68daCopy full SHA for 98f68da
1 file changed
api/models/Topic.js
@@ -233,6 +233,10 @@ module.exports = {
233
topic.usage = topic.usage.contents;
234
}
235
236
+ if (topic.description !== null && typeof topic.description === 'object') {
237
+ topic.description = topic.description.contents;
238
+ }
239
+
240
topic.examples = sanitizeHtml(topic.examples, {
241
allowedTags: ['a' ],
242
allowedAttributes: {}
0 commit comments