1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 17:56:25 +00:00

fix(editor): replace [] with <>

This commit is contained in:
Georges Indrianjafy
2018-02-06 18:35:11 +02:00
parent a054f12492
commit a676ebf46c

View File

@@ -264,7 +264,7 @@ export default class CodeEditor extends React.Component {
handlePasteUrl (e, editor, pastedTxt) {
e.preventDefault()
const taggedUrl = '[' + pastedTxt + ']'
const taggedUrl = '<' + pastedTxt + '>'
editor.replaceSelection(taggedUrl)
fetch(pastedTxt, {