diff --git a/library.js b/library.js index 4ccf990..047f7bd 100644 --- a/library.js +++ b/library.js @@ -1,25 +1,22 @@ function getSetString(match, src, width, height) { if (width === "" && height === "") { - return match; } - return "=0.6.0 <=1.18.0" + "compatibility": ">=1.0.0 <5.0.0" }, "devDependencies": { "@commitlint/cli": "13.1.0", diff --git a/plugin.json b/plugin.json index 62c8e88..0fdd6a0 100644 --- a/plugin.json +++ b/plugin.json @@ -1,6 +1,4 @@ { - "id": "nodebb-plugin-image-md-size", - "url": "nodebb-plugin-image-md-size", "library": "./library.js", "hooks": [ {"hook": "filter:parse.post", "method": "sizeImages"},