Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
haozhu233 committed Apr 22, 2019
1 parent 4b34e98 commit c825b94
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ htmltools 0.3.6.9003
* The error message for trailing commas in tag functions now provides context
and useful information. (#109)

* Fixed #125: `print.html` removes html dependencies. (#126)


htmltools 0.3.6
--------------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion R/tags.R
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ as.character.shiny.tag.list <- as.character.shiny.tag
#' @export
print.html <- function(x, ..., browse = is.browsable(x)) {
if (browse)
html_print(HTML(x))
html_print(x)
else
cat(x, "\n", sep = "")
invisible(x)
Expand Down

0 comments on commit c825b94

Please sign in to comment.