Skip to content

Commit

Permalink
fix missing escape
Browse files Browse the repository at this point in the history
close #34
  • Loading branch information
tchiotludo committed Mar 4, 2019
1 parent e84121a commit 79321ed
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/resources/views/blocks/topic/dataBody.ftl
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
<#ftl output_format="HTML">

<#-- @ftlvariable name="clusterId" type="java.lang.String" -->
<#-- @ftlvariable name="basePath" type="java.lang.String" -->
<#-- @ftlvariable name="datas" type="java.util.List<org.kafkahq.models.Record<java.lang.Byte[], java.lang.Byte[]>>" -->
Expand Down Expand Up @@ -45,7 +47,7 @@
</#list>
</table>
</#if>
<pre class="mb-0 khq-data-highlight"><code>${data.getValueAsString()!"null"}</code></pre>
<pre class="mb-0 khq-data-highlight"><code>${data.getValueAsString()?esc!"null"}</code></pre>
</td>
</tr>
</#list>

0 comments on commit 79321ed

Please sign in to comment.