title: How do I get Confluence to render the result of a {sql-query} that contains wiki markup
body: <p>I have the following in Confluence:</p>
  
  <pre><code>{panel}
  Hello World 1
  {panel}
  
  {sql-query:datasource=DS|output=wiki|table=false|macros=true}
  select '\{panel\}\\' from dual
  {sql-query}
  
  {sql-query:datasource=DS|output=wiki|table=false|macros=true}
  select 'Hello World 2\\' from dual
  {sql-query}
  
  {sql-query:datasource=DS|output=wiki|table=false|macros=true}
  select '\{panel\}' from dual
  {sql-query}
  </code></pre>
  
  <p>The first panel (Hello World 1) displays correctly. The second panel (Hello World 2) does not. See output below.</p>
  
  <p><img src="https://i.stack.imgur.com/aXZKt.png" alt="Confluence output"></p>
  
  <p>How do I get Confluence to evaluate the wiki markup in the data that is returned from the SQL?</p>
  
  <p>I have tried enclosing everything in a run macro e.g.</p>
  
  <pre><code>{run:hideParameters=true|hideRun=true|autoRun=true}
  ...
  {run}
  </code></pre>
  
  <p>but this does not seem to have any effect.</p>