1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-11 02:09:03 +00:00
Files
nmap/nselib/stdnse.lua
david 04210ef88f When an entry in stdnse.format_output has multiple lines, insert the
indent and prefix before each line, not just at the beginning. If the
indent was ">>>>", then formatting the line "AB\nCD" would result in

| >>>>  AB
|_CD

Now it will be

| >>>>  AB
|_>>>>  CD

Some script were working around this by relying on an invisible blank
first line and manually indenting following lines.
2010-12-30 21:08:24 +00:00

26 KiB