Formatting changes

This commit is contained in:
Ice3man543 2021-09-09 19:59:42 +05:30
parent 6012994405
commit ab34aa991e
2 changed files with 2 additions and 4 deletions

View File

@ -132,8 +132,7 @@ func MarkdownDescription(event *output.ResultEvent) string { // TODO remove the
}
}
builder.WriteString("\n---\nGenerated by [Nuclei](https://github.com/projectdiscovery/nuclei) ")
builder.WriteString(config.Version)
builder.WriteString(fmt.Sprintf("\n---\nGenerated by [Nuclei %s](https://github.com/projectdiscovery/nuclei)", config.Version))
data := builder.String()
return data
}

View File

@ -241,8 +241,7 @@ func jiraFormatDescription(event *output.ResultEvent) string { // TODO remove th
}
}
}
builder.WriteString("\n---\nGenerated by [Nuclei|https://github.com/projectdiscovery/nuclei] ")
builder.WriteString(config.Version)
builder.WriteString(fmt.Sprintf("\n---\nGenerated by [Nuclei v%s](https://github.com/projectdiscovery/nuclei)", config.Version))
data := builder.String()
return data
}