From 2e197820366b525f52519a6d39ef6730d497f636 Mon Sep 17 00:00:00 2001 From: Candace Savonen Date: Thu, 10 Oct 2024 15:46:11 -0400 Subject: [PATCH] Update iframe_leanpub.R --- R/iframe_leanpub.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/iframe_leanpub.R b/R/iframe_leanpub.R index cd226b7..8f61fe4 100644 --- a/R/iframe_leanpub.R +++ b/R/iframe_leanpub.R @@ -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)) }