module_formatter: re-instate code

This commit is contained in:
Jan-Piet Mens 2012-11-22 07:23:10 +01:00
parent 8e515c0c94
commit 068ef0e979
2 changed files with 2 additions and 3 deletions

View file

@ -66,8 +66,7 @@ def html_ify(text):
t = _BOLD.sub("<b>" + r"\1" + "</b>", t)
t = _MODULE.sub("<span class='module'>" + r"\1" + "</span>", t)
t = _URL.sub("<a href='" + r"\1" + "'>" + r"\1" + "</a>", t)
#t = _CONST.sub("<code>" + r"\1" + "</code>", t)
t = _CONST.sub(r"\1", t)
t = _CONST.sub("<code>" + r"\1" + "</code>", t)
return t
def json_ify(text):

View file

@ -35,7 +35,7 @@ short_description: Sets attributes of files
description:
- Sets attributes of files, symlinks, and directories, or removes
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:
path:
description: