PY-9795 In rendered docstring replace "--" and "---" with "–" and "—...
authorMikhail Golubev <mikhail.golubev@jetbrains.com>
Thu, 8 Oct 2015 19:13:20 +0000 (22:13 +0300)
committerMikhail Golubev <mikhail.golubev@jetbrains.com>
Fri, 9 Oct 2015 15:06:53 +0000 (18:06 +0300)
commitaf64a71f84f76c9889f489111fc52a6a6fd744cb
tree487f86de81134ffbef2801d546003860e8ee9514
parent1dbd939fdb4bb2ff2e66732fb47f8173605ad00b
PY-9795 In rendered docstring replace "--" and "---" with "&ndash;" and "&mdash;" respectively

Greater number of consecutive dashes are replaces with mdashes first,
the same way as Sphinx does it, e.g. "----" is substituted with
"&mdash;-".

Text is left untouched inside literal fragments and literal blocks.
python/helpers/rest_formatter.py