Commit 068ef0e9 by Jan-Piet Mens

module_formatter: re-instate code

parent 8e515c0c
...@@ -66,8 +66,7 @@ def html_ify(text): ...@@ -66,8 +66,7 @@ def html_ify(text):
t = _BOLD.sub("<b>" + r"\1" + "</b>", t) t = _BOLD.sub("<b>" + r"\1" + "</b>", t)
t = _MODULE.sub("<span class='module'>" + r"\1" + "</span>", t) t = _MODULE.sub("<span class='module'>" + r"\1" + "</span>", t)
t = _URL.sub("<a href='" + r"\1" + "'>" + r"\1" + "</a>", t) t = _URL.sub("<a href='" + r"\1" + "'>" + r"\1" + "</a>", t)
#t = _CONST.sub("<code>" + r"\1" + "</code>", t) t = _CONST.sub("<code>" + r"\1" + "</code>", t)
t = _CONST.sub(r"\1", t)
return t return t
def json_ify(text): def json_ify(text):
......
...@@ -35,7 +35,7 @@ short_description: Sets attributes of files ...@@ -35,7 +35,7 @@ short_description: Sets attributes of files
description: description:
- Sets attributes of files, symlinks, and directories, or removes - Sets attributes of files, symlinks, and directories, or removes
files/symlinks/directories. Many other modules support the same options as files/symlinks/directories. Many other modules support the same options as
the file module - including M(copy), M(template), and M(assemble). the M(file) module - including M(copy), M(template), and M(assemble).
options: options:
path: path:
description: description:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment