htmltools 0.5.6
Possibly breaking changes
-
Closed #386: Fillable containers no longer set
overflow: autoby default. Instead, they setmin-widthandmin-heightto0to ensure that fill items a constrained in the fillable container without clipping their direct children. (#387) -
Closed #370: Non-fill items in fillable containers no longer grow or shrink and instead respect their intrinsic size. Use
heightto control the height of non-fill items in fillable containers andmin-heightandmax-heighton fill items to limit how much they are allowed to grow or shrink within a fillable container. (#391)
Minor improvements
-
Closed #375: calling
htmlDependency()or a function that returns anhtmlDependency()object (e.g.,fontawesome::fa_html_dependency()) in an R chunk in an R Markdown or knitr-powered Quarto document will now include the dependency rather than printing the object structure. If you want to print the object structure, you can useprint()orstr(). (#376) -
Closed #124:
includeHTML()will now issue a warning if it detects that the file passed to it contains a complete HTML document.includeHTML()is designed to include HTML fragments where the contents of the file can be written directly into the current app or document, but subtle errors can occur when the file contains a complete HTML document. In most cases, you should instead usetags$iframe()to embed external documents. (#382)