Skip to content

Commit

Permalink
Fixed incorrect argument name being used
Browse files Browse the repository at this point in the history
Fixed incorrect argument name being used
  • Loading branch information
danjoplin committed Oct 4, 2020
1 parent ed8013c commit e2a2ed7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class_preserving_html_escape <- function(text, attribute = FALSE) {
if (is.factor(text)) {
factor(text, levels=htmltools::htmlEscape(levels(text)))
} else {
htmltools::htmlEscape(t)
htmltools::htmlEscape(text)
}
}

Expand Down

0 comments on commit e2a2ed7

Please sign in to comment.