Remove closing paren as weblink delimiter

This commit is contained in:
pecksin 2021-08-29 13:14:06 -04:00 committed by sfan5
parent 6a1424f2b1
commit 040aed37ab
1 changed files with 1 additions and 1 deletions

View File

@ -366,7 +366,7 @@ u32 ChatBuffer::formatChatLine(const ChatLine& line, u32 cols,
// Chars to mark end of weblink
// TODO? replace this with a safer (slower) regex whitelist?
static const std::wstring delim_chars = L"\'\");,";
static const std::wstring delim_chars = L"\'\";,";
wchar_t tempchar = linestring[in_pos+frag_length];
while (frag_length < remaining_in_input &&
!iswspace(tempchar) &&