Skip to content

Commit be19585

Browse files
committed
JIRA-70: The Jira macro inserts a paragraph when used in inline mode
1 parent 8e2dc77 commit be19585

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

jira-macro/jira-macro-platform/src/main/java/org/xwiki/contrib/jira/config/internal/JIRABlockAsyncRenderer.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ protected Block execute(boolean async, boolean cached)
113113
this.asyncContext.useEntity(this.sourceReference);
114114
}
115115
try {
116+
this.context.setInline(this.inline);
116117
resultBlocks = this.macro.executeCodeMacro(this.parameters, this.content, this.context);
117118
} catch (MacroExecutionException e) {
118119
// Display the error in the result

0 commit comments

Comments
 (0)