diff --git a/package.json b/package.json index 024fb477..4eb44c7c 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "url": "https://twitter.com/pascalduez" } ], - "version": "2.1.4", + "version": "2.1.5", "license": { "type": "MIT", "url": "http://opensource.org/licenses/MIT" diff --git a/src/annotation/annotations/content.js b/src/annotation/annotations/content.js index f974c238..15c68e24 100644 --- a/src/annotation/annotations/content.js +++ b/src/annotation/annotations/content.js @@ -7,7 +7,7 @@ export default function content() { }, autofill(item) { - if (item.context.code.indexOf('@content') > -1) { + if (!item.content && item.context.code.indexOf('@content') > -1) { return ''; } },