Skip to content

Commit

Permalink
Remove closing paren as weblink delimiter
Browse files Browse the repository at this point in the history
  • Loading branch information
pecksin authored and sfan5 committed Aug 29, 2021
1 parent 6a1424f commit 040aed3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/chat.cpp
Expand Up @@ -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) &&
Expand Down

0 comments on commit 040aed3

Please sign in to comment.