mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-25 11:51:26 -07: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 = _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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue