Skip to content

Commit

Permalink
Update R/build-home-index.R
Browse files Browse the repository at this point in the history
  • Loading branch information
lionel- authored Aug 15, 2024
1 parent ac7a005 commit 21b25c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/build-home-index.R
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ data_home_sidebar_links <- function(pkg = ".") {
links <- config_pluck(pkg, "home.links")

bug_reports <- pkg$desc$get_field("BugReports", default = NULL)
if (grepl("@", bug_reports) && !startsWith(bug_reports, "hhtp")) {
if (grepl("@", bug_reports) && !startsWith(bug_reports, "http")) {
bug_reports <- paste0("mailto:", bug_reports)
}

Expand Down

0 comments on commit 21b25c1

Please sign in to comment.