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:
Toshio Kuratomi 2018-04-18 14:30:30 -07:00
commit 6ddc64bc7c
2 changed files with 3 additions and 3 deletions

View file

@ -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):