From 31cbe5945a3e6c242a823beef833ace77f3917d5 Mon Sep 17 00:00:00 2001 From: mgmeyers Date: Mon, 19 Feb 2024 12:27:20 -0800 Subject: [PATCH] 1.2.1 --- manifest.json | 2 +- package.json | 2 +- release-notes.md | 2 +- src/extension.ts | 6 +----- versions.json | 3 ++- 5 files changed, 6 insertions(+), 9 deletions(-) diff --git a/manifest.json b/manifest.json index f3abb9e..558b01d 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "obsidian-list-callouts", "name": "List Callouts", - "version": "1.2.0", + "version": "1.2.1", "minAppVersion": "1.1.1", "description": "Create simple callouts in lists.", "author": "mgmeyers", diff --git a/package.json b/package.json index 3dff42e..7916d52 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "obsidian-list-callouts", - "version": "1.2.0", + "version": "1.2.1", "description": "Create simple callouts in lists.", "main": "main.js", "scripts": { diff --git a/release-notes.md b/release-notes.md index 8fe176e..ba007ab 100644 --- a/release-notes.md +++ b/release-notes.md @@ -1 +1 @@ -fdca177 Add search box for icons; fixes #37 +c677dde Prevent infinite loop diff --git a/src/extension.ts b/src/extension.ts index 3629bc4..3ab766a 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -113,11 +113,7 @@ export function buildCalloutDecos(view: EditorView, state: EditorState) { const labelPos = lineFrom + match[1].length; // Set the line class and callout color - builder.add( - lineFrom, - lineFrom, - calloutDecoration(callout.color) - ); + builder.add(lineFrom, lineFrom, calloutDecoration(callout.color)); // Add the callout background element builder.add( diff --git a/versions.json b/versions.json index 83bf02c..3415406 100644 --- a/versions.json +++ b/versions.json @@ -4,5 +4,6 @@ "1.0.1": "0.15.0", "1.0.0": "0.14.15", "1.1.5": "1.1.1", - "1.2.0": "1.1.1" + "1.2.0": "1.1.1", + "1.2.1": "1.1.1" }