Skip to content

Commit

Permalink
fix inline CSS for imgur images (replace = with :)
Browse files Browse the repository at this point in the history
  • Loading branch information
fmichonneau committed Oct 4, 2019
1 parent 768af24 commit 5ef1d41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/add_imgur_image.R
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ add_imgur_image <- function(image,

glue::glue(
"<a href=\"#\"><img src=\"{response_list$link}\" alt=\"{alt_text}\" \\
style=\"max-width:512px;width:100%!important;display:block;padding=0;border=0!important;\" border=\"0\"></a>"
style=\"max-width:512px;width:100%!important;display:block;padding:0;border:0!important;\" border=\"0\"></a>"
) %>%
as.character()
}

0 comments on commit 5ef1d41

Please sign in to comment.