gtx-cli 2.5.46 → 2.5.47

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # gtx-cli
2
2
 
3
+ ## 2.5.47
4
+
5
+ ### Patch Changes
6
+
7
+ - [#947](https://github.com/generaltranslation/gt/pull/947) [`5dccb20`](https://github.com/generaltranslation/gt/commit/5dccb20c94080aba17685d0ef623882b446cb39b) Thanks [@fernando-aviles](https://github.com/fernando-aviles)! - Fix to avoid anchor ID double escaping during parse fallback on MDX
8
+
3
9
  ## 2.5.46
4
10
 
5
11
  ### Patch Changes
@@ -1 +1 @@
1
- export declare const PACKAGE_VERSION = "2.5.46";
1
+ export declare const PACKAGE_VERSION = "2.5.47";
@@ -1,2 +1,2 @@
1
1
  // This file is auto-generated. Do not edit manually.
2
- export const PACKAGE_VERSION = '2.5.46';
2
+ export const PACKAGE_VERSION = '2.5.47';
@@ -346,7 +346,7 @@ function applyInlineIdsStringFallback(translatedContent, idMappings, escapeAncho
346
346
  if (!escapeAnchors) {
347
347
  return line;
348
348
  }
349
- return `${prefix}${text.replace(/\{#([^}]+)\}\s*$/, '\\\\{#$1\\\\}')}`;
349
+ return `${prefix}${text.replace(/\{#([^}]+)\}\s*$/, '\\{#$1\\}')}`;
350
350
  }
351
351
  const suffix = escapeAnchors ? ` \\{#${id}\\}` : ` {#${id}}`;
352
352
  return `${prefix}${text}${suffix}`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gtx-cli",
3
- "version": "2.5.46",
3
+ "version": "2.5.47",
4
4
  "main": "dist/index.js",
5
5
  "bin": "dist/main.js",
6
6
  "files": [