Skip to content
Permalink
Browse files
Remove closing paren as weblink delimiter
  • Loading branch information
pecksin authored and sfan5 committed Aug 29, 2021
1 parent 6a1424f commit 040aed37abcc929137fb9729f2526d6a15d2d51a
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/chat.cpp
@@ -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) &&

0 comments on commit 040aed3

Please sign in to comment.