Skip to content

Commit

Permalink
Merge pull request #1104 from Hoolean/fix-qol-fix
Browse files Browse the repository at this point in the history
Fix crater quality-of-life fix
  • Loading branch information
rsheeter authored Nov 12, 2024
2 parents 66ecdb4 + 3732ad6 commit 5ba53cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fontc_crater/src/ci/html.rs
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ fn make_diff_report(

let repo_url = get_repo_url(target);
let ttx_command = target.repro_command(repo_url);
let onclick = format!("event.preventDefault(); copyText('{ttx_command}');",);
let onclick = format!("event.preventDefault(); copyText(\"{ttx_command}\");",);
let decoration = make_delta_decoration(*ratio, prev_ratio, More::IsBetter);
let changed_tag_list = list_different_tables(diff_details).unwrap_or_default();
let diff_table = format_diff_report_detail_table(diff_details, prev_details);
Expand Down Expand Up @@ -683,7 +683,7 @@ fn make_error_report_group_items<'a>(
let make_repro_command = |target: &Target| {
let url = get_repo_url(target);
let ttx_command = target.repro_command(url);
format!("event.preventDefault(); copyText('{ttx_command}');",)
format!("event.preventDefault(); copyText(\"{ttx_command}\");",)
};
html! {
@for (path, is_new) in paths_and_if_is_new_error {
Expand Down

0 comments on commit 5ba53cf

Please sign in to comment.