mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00:00
Fixes for multiline doc descriotions breaking rst formatting
* strip whitespace to preserve indent level * Make sure to indent subsequent lines of indentation
This commit is contained in:
@@ -117,7 +117,7 @@ def html_ify(text):
|
||||
t = _CONST.sub(r"<code>\1</code>", t)
|
||||
t = _RULER.sub(r"<hr/>", t)
|
||||
|
||||
return t
|
||||
return t.strip()
|
||||
|
||||
|
||||
def rst_fmt(text, fmt):
|
||||
|
||||
Reference in New Issue
Block a user