@ray-js/t-agent-ui-ray 0.2.7-beta.11 → 0.2.7-beta.13
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(
|
|
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.
|
|
3
|
+
"version": "0.2.7-beta.13",
|
|
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": "
|
|
43
|
+
"gitHead": "8355bb1b4ce4849a1628cd59005b16d2b85fff62"
|
|
44
44
|
}
|