From: Kefu Chai Date: Fri, 7 Jul 2017 03:48:50 +0000 (+0800) Subject: tools: ceph-release-notes: escape asterisks not for inline emphasis X-Git-Tag: v12.1.1~142^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F16199%2Fhead;p=ceph.git tools: ceph-release-notes: escape asterisks not for inline emphasis Signed-off-by: Kefu Chai --- diff --git a/src/script/ceph-release-notes b/src/script/ceph-release-notes index 69680bed24e4..6f0d70cf7f7f 100755 --- a/src/script/ceph-release-notes +++ b/src/script/ceph-release-notes @@ -196,6 +196,9 @@ def make_release_notes(gh, repo, ref, plaintext, verbose, strict, use_tags): title = split_component(title, gh, number) title = title.strip(' \t\n\r\f\v\.\,\;\:\-\=') + # escape asterisks, which is used by reStructuredTextrst for inline + # emphasis + title = title.replace('*', '\*') pr2info[number] = (author, title, message) for issue in set(issues):