result += `
<tr>
<td class="lineNo">
${showNumber(lineInfo) ? lineInfo['num-old'] : ' '}
</td>
<td class="lineNo">
${showNumber(lineInfo) ? lineInfo['num-new'] : ' '}
</td>
<td style="width: 100%">
<pre class="${lineInfo.type}">${lineInfo.line}</pre>
</td>
</tr>
`
}
result += `
</table>
`
return result;
}