Skip to content

Commit

Permalink
Do not remove the backticks around inline code snippets
Browse files Browse the repository at this point in the history
  • Loading branch information
jwakely committed Jan 25, 2024
1 parent 04016d4 commit 68b7ce5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/issues.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,8 @@ auto lwg::parse_issue_from_file(std::string tx, std::string const & filename,
continue;
}
auto code = "<code>" + escape_special_chars(tx.substr(p + 1, p2 - p - 1)) + "</code>";
tx.replace(p, p2 - p + 1, code);
p += code.size();
tx.replace(p+1, p2 - p - 1, code);
p += code.size() + 2;
}

issue is;
Expand Down

0 comments on commit 68b7ce5

Please sign in to comment.