【发布时间】:2019-11-09 01:30:27
【问题描述】:
我正在尝试从netsuite数据库中以PDF格式显示结果,但是有些结果带有引号,所以结果不完整,尝试在每个变量的末尾添加“?html”,但不影响我想要的专栏。 我希望你能帮助我,问候!
Netsuite 高级 PDF 模板 - Freemarker
<table cellmargin="5"><#list results as result><tr>
<td style="width: 150px;">
<#if result.custitem_gg_item_image?length != 0><img src="https://----com${result.custitem_gg_item_image}" style="width: 125px; height: 125px;"/><#else><img src="https:/---.com" style="width: 125px; height: 125px;"/></#if>
</td>
<td><strong style="font-size: 12pt"><u><span>${result.itemid?html}</span></u></strong><br/><br/><strong style="font-size: 10pt"><span>${result.displayname?html}</span></strong><br/><br/>
<#if result.purchasedescription?length != 0><span>${result.purchasedescription?html}</span><#else><span>${result.salesdescription?html}</span></#if></td>
</tr>
</#list>
</table>
【问题讨论】:
标签: netsuite freemarker quotation-marks