Skip to content

Commit 43a559c

Browse files
committed
Groom NEWS.md
1 parent ca2e779 commit 43a559c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

NEWS.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ htmlwidgets 1.6.0
33

44
### Potentially breaking changes
55

6-
* Closed #433 and #440: `saveWidget(selfcontained=TRUE)` now uses the `{rmarkdown}` package to discover and call pandoc, which fixes a couple existing issues and helps "future proof" this code path from future changes to pandoc.
76
* `shinyWidgetOutput()` and `sizingPolicy()` both gain a new `fill` parameter. When `TRUE` (the default), the widget's container element is allowed to grow/shrink to fit it's parent container so long as that parent is opinionated about its height and has been marked with `htmltools::bindFillRole(x, container = TRUE)`. (#442)
87
* The primary motivation for this is to allow widgets to grow/shrink by default [inside `bslib::card_body_fill()`](https://rstudio.github.io/bslib/articles/cards.html#responsive-sizing)
98
* Widgets that aren't designed to fill their container in this way should consider setting `sizingPolicy(fill = FALSE)`/`shinyWidgetOutput(fill = FALSE)` and/or allowing users to customize these settings (i.e., add a `fill` argument to the `customWidgetOutput()` function signature).
109
* `shinyWidgetOutput()`'s `reportSize` argument now defaults to `TRUE`. This way, calling `shiny::getCurrentOutputInfo()` inside a `shinyRenderWidget()` context will report the current height and width of the widget.
1110

12-
### Bug fixes
11+
### Improvements
1312

13+
* Closed #433 and #440: `saveWidget(selfcontained=TRUE)` now uses the `{rmarkdown}` package to discover and call pandoc, which fixes a couple existing issues and helps "future proof" this code path from future changes to pandoc.
1414
* Closed #257 and #358: `saveWidget(selfcontained=TRUE)` now correctly prevents HTML from being interpreted as markdown. (#401)
1515

1616
htmlwidgets 1.5.4
@@ -160,7 +160,7 @@ htmlwidgets 0.6
160160
* Add `appendContent` and `prependContent` functions for adding HTML
161161
to a widget rendered in a static context (i.e. R console or Rmd)
162162

163-
* Fix a bug where the string `</body></html>` in the widget data caused
163+
* Fix a bug where the string "</body></html>" in the widget data caused
164164
`saveWidget()` to have malformed output. (#168)
165165

166166
* Tweak pandoc conversion used in saveWidget to prevent hanging with
@@ -181,7 +181,7 @@ htmlwidgets 0.5
181181

182182
* Add background parameter to saveWidget function
183183

184-
* Fix a bug where `</script>` appearing in widget data would break
184+
* Fix a bug where "</script>" appearing in widget data would break
185185
parsing
186186

187187
* Fix a bug where multiple widgets on a page caused all but one to miss

0 commit comments

Comments
 (0)