From a799955a8691f35edb59fdb250cfb26741e6a311 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Fri, 7 Jul 2017 11:48:50 +0800 Subject: [PATCH] tools: ceph-release-notes: escape asterisks not for inline emphasis Signed-off-by: Kefu Chai --- src/script/ceph-release-notes | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/script/ceph-release-notes b/src/script/ceph-release-notes index 69680bed24e49..6f0d70cf7f7f1 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): -- 2.39.5