diff --git a/R/replace_html.R b/R/replace_html.R
index ee627d6..ef9c478 100644
--- a/R/replace_html.R
+++ b/R/replace_html.R
@@ -298,17 +298,17 @@ build_image <- function(src, ..., caption = NULL, embed = NULL,
}
# Default is to not use a !
- link <- paste0("[", words, "](", myenv$src, ").")
+ link <- paste0("[", words, "](", myenv$src, ")")
# But if its an image or video, use use !
if (!is.null(element)) {
if (element == "img") {
- link <- paste0(".")
+ link <- paste0("")
}
}
if (!is.null(myenv$type)) {
if (myenv$type == "video") {
- link <- paste0(".")
+ link <- paste0("")
}
}