0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00

Remove errant console.log

This commit is contained in:
Kevin Ansfield 2018-06-01 18:17:09 +01:00
parent dc6064b567
commit ab5267ab87

View file

@ -298,7 +298,6 @@ export default function (editor, koenig) {
function matchSub(editor, text) {
let {range} = editor;
let matches = text.match(/(^|[^~])~([^\s~]+|[^\s~][^~]*[^\s])~/);
console.log(matches);
if (matches) {
let match = matches[0].trim();
range = range.extend(-(match.length - matches[1].trim().length));