Add Failing Test

Issue: #193
This commit is contained in:
Josh Johnson 2018-06-12 20:11:52 -04:00
parent 0a17f59e67
commit 69a7a9164b
3 changed files with 28 additions and 0 deletions

View File

@ -80,6 +80,10 @@ describe("V2XmlFormatter", () => {
testFormatter(xmlFormatter, options, "issue-189");
});
it("should not add extra line breaks before closing tags", () => {
testFormatter(xmlFormatter, options, "issue-193");
});
});
});

View File

@ -0,0 +1,12 @@
<xsl:template name="btn-export-excel-pdf">
<div class="row">
<div class="col-md button-wrapper text-center">
<a class="btn btn-outline-info" role="button" href="javascript:template.printToPdf()" target="_blank">
<i class="far fa-file-pdf">&#160;</i> Export to PDF
</a> &#160;
<a class="btn btn-outline-info" role="button" href="javascript:template.exportToExcel()" target="_blank">
<i class="far fa-file-excel">&#160;</i> Export to EXCEL
</a>
</div>
</div>
</xsl:template>

View File

@ -0,0 +1,12 @@
<xsl:template name="btn-export-excel-pdf">
<div class="row">
<div class="col-md button-wrapper text-center">
<a class="btn btn-outline-info" role="button" href="javascript:template.printToPdf()" target="_blank">
<i class="far fa-file-pdf">&#160;</i> Export to PDF
</a> &#160;
<a class="btn btn-outline-info" role="button" href="javascript:template.exportToExcel()" target="_blank">
<i class="far fa-file-excel">&#160;</i> Export to EXCEL
</a>
</div>
</div>
</xsl:template>