Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/nodes/CustomContainer.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nodes/CustomContainer.js b/src/nodes/CustomContainer.js
index 920c075e4..fdf9ded53 100644
--- a/src/nodes/CustomContainer.js
+++ b/src/nodes/CustomContainer.js
@@ -78,7 +78,7 @@ export default Node.create({
},
toMarkdown: (state, node) => {
- state.write('::: info' + (node.attrs.params || '') + '\n')
+ state.write('::: ' + (node.attrs.type || 'info') + '\n')
state.text(node.textContent, false)
state.ensureNewLine()
state.write(':::')