@ray-js/t-agent-ui-ray 0.2.7-beta.11 → 0.2.7-beta.12

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.
@@ -178,9 +178,8 @@ export class BlockParser {
178
178
  return result;
179
179
  }
180
180
  parseBlock(input) {
181
- const _input = input.replace(/\\n/g, '<br>').replace(/\\<br>/g, '<br>').replace(/\\"/g, '"');
182
181
  this.pendingBlocks = [];
183
- const html = md.render(_input, {
182
+ const html = md.render(input, {
184
183
  blockParser: this
185
184
  });
186
185
  if (!this.pendingBlocks.length) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ray-js/t-agent-ui-ray",
3
- "version": "0.2.7-beta.11",
3
+ "version": "0.2.7-beta.12",
4
4
  "author": "Tuya.inc",
5
5
  "license": "MIT",
6
6
  "private": false,
@@ -40,5 +40,5 @@
40
40
  "@types/echarts": "^4.9.22",
41
41
  "@types/markdown-it": "^14.1.1"
42
42
  },
43
- "gitHead": "10d81d0352c88b6b2eff7168ed046a065416dc4f"
43
+ "gitHead": "71b387bb5578e4749293f146f3737d87c7c22fa7"
44
44
  }