Skip to content

Commit 75289ad

Browse files
authored
Merge pull request #8264 from microsoft/coleng/fix_schema_loc
2 parents c0b216c + 640df0f commit 75289ad

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Extension/gulpfile.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,10 @@ const generateLocalizedJsonSchemaFiles = () => {
549549
keyPrefix = keyPrefix.replace(/\\/g, "/");
550550
let descriptionCallback = (path, value, parent) => {
551551
if (stringTable[keyPrefix + path]) {
552-
parent.description = stringTable[keyPrefix + path];
552+
if (!parent.markdownDescription)
553+
parent.description = stringTable[keyPrefix + path];
554+
else
555+
parent.markdownDescription = stringTable[keyPrefix + path];
553556
}
554557
};
555558
traverseJson(jsonTree, descriptionCallback, "");

0 commit comments

Comments
 (0)