mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
module_formatter: re-instate code
This commit is contained in:
parent
8e515c0c94
commit
068ef0e979
2 changed files with 2 additions and 3 deletions
|
@ -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
|
||||||
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:
|
||||||
|
|
Loading…
Reference in a new issue