We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7d95186 + a369aff commit db76ca5Copy full SHA for db76ca5
1 file changed
macros/ui/niceTables.pl
@@ -1514,8 +1514,7 @@ sub tag {
1514
$return .= $inner;
1515
$return .= "$separator</$name>";
1516
} else {
1517
- $return .= '>' unless ($main::displayMode eq 'PTX');
1518
- $return .= '/>' if ($main::displayMode eq 'PTX');
+ $return .= ($main::displayMode eq 'PTX') ? '/>' : $name =~ /^(br|col|hr|img|input)$/ ? '>' : "></$name>";
1519
}
1520
return $return;
1521
0 commit comments