@difizen/libro-rendermime 0.3.33 → 0.3.35
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.
|
@@ -44,7 +44,7 @@ export var RawTextRender = function RawTextRender(props) {
|
|
|
44
44
|
if ((mimeType === 'application/vnd.libro.large.output.stdout' || mimeType === 'application/vnd.libro.large.output.stderr') && Array.isArray(dataContent) && dataContent.length > 1) {
|
|
45
45
|
displaySource = removeOverwrittenChars(concatMultilineString([].concat(_toConsumableArray(dataContent.slice(0, 2)), _toConsumableArray(getLastThreeAfterFirstTwo(dataContent)))));
|
|
46
46
|
} else {
|
|
47
|
-
displaySource = removeOverwrittenChars(concatMultilineString(
|
|
47
|
+
displaySource = removeOverwrittenChars(concatMultilineString(dataContent));
|
|
48
48
|
}
|
|
49
49
|
renderText({
|
|
50
50
|
host: renderTextRef.current,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@difizen/libro-rendermime",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.35",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"libro",
|
|
@@ -32,9 +32,9 @@
|
|
|
32
32
|
"src"
|
|
33
33
|
],
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@difizen/libro-common": "^0.3.
|
|
36
|
-
"@difizen/libro-core": "^0.3.
|
|
37
|
-
"@difizen/libro-markdown": "^0.3.
|
|
35
|
+
"@difizen/libro-common": "^0.3.35",
|
|
36
|
+
"@difizen/libro-core": "^0.3.35",
|
|
37
|
+
"@difizen/libro-markdown": "^0.3.35",
|
|
38
38
|
"@difizen/mana-app": "latest",
|
|
39
39
|
"lodash.escape": "^4.0.1"
|
|
40
40
|
},
|
|
@@ -53,7 +53,7 @@ export const RawTextRender: React.FC<{ model: BaseOutputView }> = (props: {
|
|
|
53
53
|
);
|
|
54
54
|
} else {
|
|
55
55
|
displaySource = removeOverwrittenChars(
|
|
56
|
-
concatMultilineString(
|
|
56
|
+
concatMultilineString(dataContent as MultilineString),
|
|
57
57
|
);
|
|
58
58
|
}
|
|
59
59
|
|