Using HubL script to create a custom table of line items in quotes

Hi!

We are using the default quote templates in the Hubspot quote module. We would like to be able to display multiple tables with products, grouped by the type of product. We are using scripting inside the template editor. This works fine, we can loop through the line items, filter on the type and then add the items to the correct section.

This works if we use lists like <li><…/li>. However as we try builing custom tables, we run into problems where the Hubspot script editor seems to prevent us from using the <table> tags.

Am I correct that you cannot use <TABLE>, <TR>, <TD> in the editor like I am trying? Is there an alternative way of achieving our goal?

Hmmm… I just tested in one of my custom quote templates and I can use table tags just fine.

Let me say that I am using custom quotes in the design manager editor. Maybe that is not how you’re doing it.