azdo-cli 0.14.1 → 0.15.0-bugfix-76.583
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1310,7 +1310,7 @@ var ADO_NAMED_ENTITIES = {
|
|
|
1310
1310
|
lArr: "\u21D0"
|
|
1311
1311
|
};
|
|
1312
1312
|
function decodeAdoEntitiesInMarkdown(text) {
|
|
1313
|
-
return text.replace(/&([a-zA-Z]+);/g, (match, name) => ADO_NAMED_ENTITIES[name] ?? match).replace(/&#x([0-9a-fA-F]+);/g, (_, hex) => String.fromCodePoint(
|
|
1313
|
+
return text.replace(/&([a-zA-Z]+);/g, (match, name) => ADO_NAMED_ENTITIES[name] ?? match).replace(/&#x([0-9a-fA-F]+);/g, (_, hex) => String.fromCodePoint(parseInt(hex, 16))).replace(/&#([0-9]+);/g, (_, dec) => String.fromCodePoint(parseInt(dec, 10))).replaceAll("&", "&");
|
|
1314
1314
|
}
|
|
1315
1315
|
function htmlToMarkdown(html) {
|
|
1316
1316
|
return NodeHtmlMarkdown.translate(escapeAnglesInCodeElements(html));
|
|
@@ -2666,7 +2666,7 @@ function createGetMdFieldCommand() {
|
|
|
2666
2666
|
if (value === null) {
|
|
2667
2667
|
process.stdout.write("\n");
|
|
2668
2668
|
} else {
|
|
2669
|
-
process.stdout.write(toMarkdown(value)
|
|
2669
|
+
process.stdout.write(toMarkdown(value) + "\n");
|
|
2670
2670
|
}
|
|
2671
2671
|
if (imageOptions.enabled) {
|
|
2672
2672
|
await runImageDownload(
|