diff options
Diffstat (limited to 'plugins/NewStory')
-rw-r--r-- | plugins/NewStory/src/history_control.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/plugins/NewStory/src/history_control.cpp b/plugins/NewStory/src/history_control.cpp index 029a1ea12f..1ad5bb1f38 100644 --- a/plugins/NewStory/src/history_control.cpp +++ b/plugins/NewStory/src/history_control.cpp @@ -617,8 +617,11 @@ void NewstoryListData::RecalcScrollBar() void NewstoryListData::Quote() { if (pMsgDlg) - if (auto *pItem = LoadItem(caret)) - pMsgDlg->SetMessageText(Srmm_Quote(pItem->wtext)); + if (auto *pItem = LoadItem(caret)) { + CMStringW wszText(pItem->wtext); + RemoveBbcodes(wszText); + pMsgDlg->SetMessageText(Srmm_Quote(wszText)); + } } void NewstoryListData::ScheduleDraw() |