Skip to content

Commit

Permalink
Merge pull request rstudio#76 from fmichonneau/fix-inline-css
Browse files Browse the repository at this point in the history
fix inline CSS for imgur images (replace `=` with `:`)
  • Loading branch information
rich-iannone authored Oct 7, 2019
2 parents 768af24 + 5ef1d41 commit 17cbf71
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 17cbf71

Please sign in to comment.