Skip to content

Commit

Permalink
Update iframe_leanpub.R
Browse files Browse the repository at this point in the history
  • Loading branch information
cansavvy authored Oct 10, 2024
1 parent 6fe8e03 commit 2e19782
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/iframe_leanpub.R
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ website_to_embed_leanpub <- function(path = ".",
}
chapt_df <- get_chapters(
html_page = paste0(base_url, "index.html"),
base_url = base_url
base_url = file.path(base_url, "no_toc/")
) %>%
dplyr::mutate(chapt_title = gsub("\\:|\\?|\\&|\\!|\\'", "", chapt_title))
}
Expand Down

0 comments on commit 2e19782

Please sign in to comment.