Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions EnhancedHTML2.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -620,11 +620,11 @@ to help visually indicate that the section can be toggled.
if ($As -eq 'table') {
Write-Verbose "Adding $name to header and $value to row"
$headerrow += "<th>$name</th>"
$datarow += "<td$(if ($cell_css -ne '') { ' class="'+$cell_css+'"' })>$value</td>"
$datarow += "<td$(if ($cell_css -ne '') { ' class="'+$cell_css+'"' })>$($value.ToString())</td>"
} else {
$wrote_first_line = $true
$headerrow = ""
$datarow = "<td$(if ($cell_css -ne '') { ' class="'+$cell_css+'"' })>$name :</td><td$(if ($cell_css -ne '') { ' class="'+$cell_css+'"' })>$value</td>"
$datarow = "<td$(if ($cell_css -ne '') { ' class="'+$cell_css+'"' })>$name :</td><td$(if ($cell_css -ne '') { ' class="'+$cell_css+'"' })>$($value.ToString())</td>"
$out += "<tr$(if ($row_css -ne '') { ' class="'+$row_css+'"' })>$datarow</tr>"
}
}
Expand Down