Closed jbruett closed 6 years ago
@jbruett Thanks for reporting - I had already picked up on the Word error, but not noticed the HTML output. Can you check whether the Dev branch fixes this for you?
Sure does! both examples above run, give expected output and no errors! thanks for the fast turnaround on this Iain!!!
Great work @iainbrighton! This was troubling me but I had thought it was my code. Everything looks good in your update. Any chance of pushing this to master and PSGallery as I have a demo coming in a couple of weeks? I'd love users to be able to get hold of this release after my demo.
v. 0.7.21.110
When passing an object to a table where the input is an empty string the HTML formatter enters a non-breaking space token (
), and Word formats it as empty input. If i change it to $null instead of [string]::empty HTML formats it correctly but i get an error from word.Here's the code to reproduce
Here's the specific error I get from Word