We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c9473f8 + 0a3fe0c commit d6e815eCopy full SHA for d6e815e
data/markdown_doc/default_template.erb
@@ -5,7 +5,7 @@
5
6
## Module Name
7
8
-<%= Rex::Text.html_encode(items[:mod_fullname]) %>
+<%= CGI::escapeHTML(items[:mod_fullname]) %>
9
10
## Authors
11
@@ -47,4 +47,4 @@ No options required.
47
48
## Basic Usage
49
50
-<%= normalize_demo_output(items[:mod_demo]) %>
+<%= normalize_demo_output(items[:mod_demo]) %>
lib/msf/util/document_generator/normalizer.rb
@@ -183,7 +183,7 @@ def normalize_description(description)
183
# @return [String]
184
def normalize_authors(authors)
185
if authors.kind_of?(Array)
186
- authors.collect { |a| "* #{Rex::Text.html_encode(a)}" } * "\n"
+ authors.collect { |a| "* #{CGI::escapeHTML(a)}" } * "\n"
187
else
188
authors
189
end
0 commit comments