Index: library/lib/doc-tools.tcl =================================================================== diff -u -r3df933477f01d26d32220be5a1c87bfc0c5b7685 -r39306d4d36096f20dba3262638e2a87f04e90111 --- library/lib/doc-tools.tcl (.../doc-tools.tcl) (revision 3df933477f01d26d32220be5a1c87bfc0c5b7685) +++ library/lib/doc-tools.tcl (.../doc-tools.tcl) (revision 39306d4d36096f20dba3262638e2a87f04e90111) @@ -1756,7 +1756,7 @@ :method listing {{-inline true} script} { #return [expr {$inline?"$script":"
$script
"}] - return [expr {$inline?"$script":[nx::pp render $script]}] + return [expr {$inline?"$script":[nx::pp render [string trimright $script " \r\n"]]}] } :method link {tag names} {