1
0
mirror of https://github.com/nmap/nmap.git synced 2026-02-02 03:29:02 +00:00

Fix the XML stylesheet processing instruction. It read "test/xsl"

instead of "text/xsl". This was reported by Grant Bartlett.
This commit is contained in:
david
2010-05-24 18:56:39 +00:00
parent 25c56e7fa0
commit 238e0107f5

View File

@@ -1579,7 +1579,7 @@ int nmap_main(int argc, char *argv[]) {
if (xslfname) {
xml_open_pi("xml-stylesheet");
xml_attribute("href", "%s", xslfname);
xml_attribute("type", "test/xsl");
xml_attribute("type", "text/xsl");
xml_close_pi();
xml_newline();
}