mirror of
https://github.com/nmap/nmap.git
synced 2025-12-28 18:39:03 +00:00
Change " \n" to just "\n" where appropriate in NSE. Leading newlines are
no longer removed from script output.
This commit is contained in:
@@ -326,7 +326,7 @@ action = function(host, port)
|
||||
local output = stdnse.format_output( true, results )
|
||||
|
||||
if limit > 0 then
|
||||
output = output .. string.format(" \n\nOutput limited to %d items", limit )
|
||||
output = output .. string.format("\n\nOutput limited to %d items", limit )
|
||||
end
|
||||
|
||||
return output
|
||||
|
||||
Reference in New Issue
Block a user