Skip to content

Commit

Permalink
chore: use empty a tag to pass the test
Browse files Browse the repository at this point in the history
  • Loading branch information
vedhav committed Nov 6, 2024
1 parent b8c1caf commit 579f7b9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/tag_examplesShinylive.R
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,8 @@ format.rd_section_examplesShinylive <- function(x, ...) {
" \\item{example-", seq_along(x$value), "}{\n",
" \\href{", x$value, "}{Open in Shinylive}\n",
" \\if{html}{\\out{<iframe class=\"iframe_shinylive\" src=\"", x$value, "\" ", iframe_style, "></iframe>}}\n", # nolint: line_length_linter.
" \\if{html}{\\out{<div style='height: ", app_height, "; display: block;'>&nbsp;</div>}}\n",
# empty a tag because Tidy complains about empty spans.
" \\if{html}{\\out{<a style='height: ", app_height, "; display: block;'></a>}}\n",
" }\n",
collapse = ""
),
Expand Down

0 comments on commit 579f7b9

Please sign in to comment.