Making an Advanced HTML Template and says template...
# general
a
Making an Advanced HTML Template and says template cannot be saved due to the following errors: The parser has encountered more than "100,000" entity expansions in this document; this is the limit imposed by the application. Seems like it started doing it when changing these two lines:
Copy code
<body padding="0.0in 0.0in 0.0in 0.0in" style="width: 4in; height: 3in;" >
    <table padding="0.0in 0.0in 0.0in 0.0in" style="width: 3.95in; height: 2.95in;">
Here is the full HTML if that helps.
Copy code
<?xml version="1.0"?><!DOCTYPE pdf PUBLIC "-//big.faceless.org//report" "report-1.1.dtd">
<pdfset>
  <#list results as label>
    <#assign cartonCount=label.custcol_countqty>
    <#list 1..cartonCount?replace(',','')?number?ceiling as i>
<pdf>
<head>
	<link name="NotoSans" type="font" subtype="truetype" src="${nsfont.NotoSans_Regular}" src-bold="${nsfont.NotoSans_Bold}" src-italic="${nsfont.NotoSans_Italic}" src-bolditalic="${nsfont.NotoSans_BoldItalic}" bytes="2" />
	<#if .locale == "zh_CN">
		<link name="NotoSansCJKsc" type="font" subtype="opentype" src="${nsfont.NotoSansCJKsc_Regular}" src-bold="${nsfont.NotoSansCJKsc_Bold}" bytes="2" />
	<#elseif .locale == "zh_TW">
		<link name="NotoSansCJKtc" type="font" subtype="opentype" src="${nsfont.NotoSansCJKtc_Regular}" src-bold="${nsfont.NotoSansCJKtc_Bold}" bytes="2" />
	<#elseif .locale == "ja_JP">
		<link name="NotoSansCJKjp" type="font" subtype="opentype" src="${nsfont.NotoSansCJKjp_Regular}" src-bold="${nsfont.NotoSansCJKjp_Bold}" bytes="2" />
	<#elseif .locale == "ko_KR">
		<link name="NotoSansCJKkr" type="font" subtype="opentype" src="${nsfont.NotoSansCJKkr_Regular}" src-bold="${nsfont.NotoSansCJKkr_Bold}" bytes="2" />
	<#elseif .locale == "th_TH">
		<link name="NotoSansThai" type="font" subtype="opentype" src="${nsfont.NotoSansThai_Regular}" src-bold="${nsfont.NotoSansThai_Bold}" bytes="2" />
	</#if>
    <style type="text/css">table { font-size: 9pt; table-layout: fixed; width: 100%; }
th { font-weight: bold; font-size: 8pt; vertical-align: middle; padding: 5px 6px 3px; background-color: #e3e3e3; color: #333333; padding-bottom: 10px; padding-top: 10px; }
td { padding: 4px 6px; }
b { font-weight: bold; color: #333333; }
</style>
</head>
<body padding="0.0in 0.0in 0.0in 0.0in" style="width: 4in; height: 3in;" >
    <table padding="0.0in 0.0in 0.0in 0.0in" style="width: 3.95in; height: 2.95in;">
    	<tr height="30px">
			<td width="5%">&nbsp;</td>
			<td width="90%"><#if label.custcol_gu_next_tag?length != 0><barcode codetype="code128" showtext="true" value="${label.custcol_gu_next_tag}"/></#if></td>
			<td width="5%">&nbsp;</td>
		</tr>
    	<tr height="30px">
			<td width="5%">&nbsp;</td>
			<td width="90%"><#if label.item?length != 0><barcode codetype="code128" showtext="true" value="${label.item}"/></#if></td>
			<td width="5%">&nbsp;</td>
		</tr>
		<tr height="20px">
			<td width="5%">&nbsp;</td>
			<td width="90%">Lot# ${label.custcol_gu_lot_number}</td>
			<td width="5%">&nbsp;</td>
		</tr>
		<tr height="20px">
			<td width="5%">&nbsp;</td>
			<td width="90%">Size: ${label.custcol_width}&#34; x ${label.custcol_lengthft}&#39;</td>
			<td width="5%">&nbsp;</td>
		</tr>
		<tr height="20px">
			<td width="5%">&nbsp;</td>
			<td width="90%">Received: ${label.duedate}</td>
			<td width="5%">&nbsp;</td>
		</tr>
		<tr height="20px">
			<td width="5%">&nbsp;</td>
			<td width="90%">Remarks: ${label.mainname} ${label.tranid}</td>
			<td width="5%">&nbsp;</td>
		</tr>
 </table>
</body>
</pdf></#list></#list></pdfset>