Skip to content

Commit

Permalink
Dialog: Fix formatting for HTTPS links in dialogs
Browse files Browse the repository at this point in the history
Noticed by js in irc.
  • Loading branch information
dscharrer committed Aug 29, 2021
1 parent 94103aa commit a839fc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platform/Dialog.cpp
Expand Up @@ -172,7 +172,7 @@ static std::string formatAsHtml(std::string_view text, bool newline, bool ul = f
oss << "http://";
i += 6;
} else if(!link && line.substr(i, 8) == "https://") {
oss << "<a href=";
oss << "<a href=\"";
link_start = oss.tellp(), link = true;
oss << "https://";
i += 7;
Expand Down

0 comments on commit a839fc2

Please sign in to comment.