Hello All,
I have a dataset that I am converting to html for a quick export. I would like to insert line breaks for new lines in the header, but I am having difficulty.
For example:
data_param = system.db.runQuery("""SELECT id, machine, feederpressure as "Feeder<BR>Pressure", pressureaddon as "Pressure<BR>Add On" from table ORDER BY id;""")
html = system.dataset.dataSetToHTML(True, data_param, "Machine Parameters Table")
system.perspective.download("export.html", html)
My html file header is then:
id | machine | Feeder<BR>Pressure | Pressure<BR>Add On
It seems like the converter is "too smart" and is automatically converting text that could be interpreted as html into special characters such that it renders. Is there a way I can achieve the desired result?
Thanks.