Skip to content

Commit

Permalink
(textproc/R-htmltools) Updated 0.5.1.1 to 0.5.2
Browse files Browse the repository at this point in the history
# htmltools 0.5.2

## Breaking Changes

* Closed #205: When calling `tagGetAttribute(x)` on an object with a
  non-atomic attribute, a list of untouched values will be
  returned. It is still recommended to only store character values
  inside attributes. (#212)

## New Features & Improvements

* `{htmltools}` now has its own `{pkgdown}` site hosted at
  <https://rstudio.github.io/htmltools/>.

* The new `tagQuery()` function provides a
  [jQuery](https://jquery.com/) inspired interface to query and/or
  modify HTML `tag()` (e.g., `div()`) or `tagList()` objects. To learn
  more, see the [{pkgdown}
  article](https://rstudio.github.io/htmltools/articles/tagQuery.html). (#208)

* Added `tagAddRenderHook()` for delaying modification of a tag object
  until it is rendered. A list of render-time hooks may also be added
  via the new `.renderHook` argument added to all `tag()`
  functions. (#215)

* Closed #243: Added `withTags(.noWS)` to change the default
  whitespace behavior for all tags within the call to
  `withTags()`. (#245)

* Closed #251: Added `.cssSelector` parameters to tag modifying
  functions such as `tagAppendChildren()` or
  `tagAppendChildren()`. The `.cssSelector` allows you to target
  particular (inner) tags of interest. See `tagAppendChildren()` for
  examples. (#224)

* Closed #225: Added `tagInsertChildren()` to be able to insert child
  tag objects at a particular location. (#224)

## Bug Fixes

* When retrieving a tag attribute using `tagGetAttribute(tag, attr)`,
  `NA` values will be removed before combining remaining attribute
  values. If all attribute values are `NA`, then a single `NA` value
  will be returned. (#212)

* Closed #197: Fixed rendering of boolean attributes in `<script>`
  tags rendered via `renderDependencies()` (#197, thanks @atusy).

* Closed #222: Unnamed attributes are no longer allowed to be appended
  via `tagAppendAttribs()`. When trying to print unnamed tag attribs,
  a better error message is provided. (#229)
  • Loading branch information
mef committed Sep 5, 2021
1 parent 32ad2a6 commit abb25ee
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions textproc/R-htmltools/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.6 2021/06/06 23:48:13 mef Exp $
# $NetBSD: Makefile,v 1.7 2021/09/05 02:30:06 mef Exp $

R_PKGNAME= htmltools
R_PKGVER= 0.5.1.1
R_PKGVER= 0.5.2
CATEGORIES= textproc

MAINTAINER= [email protected]
Expand All @@ -15,7 +15,7 @@ DEPENDS+= R-rlang-[0-9]*:../../devel/R-rlang
# Packages suggested but not available: 'ragg'
TEST_DEPENDS+= R-testthat-[0-9]*:../../devel/R-testthat
TEST_DEPENDS+= R-Cairo-[0-9]*:../../graphics/R-Cairo
#EST_DEPENDS+= R-ragg-[0-9]*:../../devel/R-ragg
#EST_DEPENDS+= R-ragg-[0-9]*:../../graphics/R-ragg
TEST_DEPENDS+= R-shiny-[0-9]*:../../www/R-shiny

USE_LANGUAGES+= c c++
Expand Down
10 changes: 5 additions & 5 deletions textproc/R-htmltools/distinfo
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.2 2021/06/05 08:02:32 mef Exp $
$NetBSD: distinfo,v 1.3 2021/09/05 02:30:06 mef Exp $

SHA1 (R/htmltools_0.5.1.1.tar.gz) = 6be8d7ebdca06c82afc100627de1676e25b92674
RMD160 (R/htmltools_0.5.1.1.tar.gz) = d2bce997c648851ceaa613b6c2b4fb6b4ddf2a4a
SHA512 (R/htmltools_0.5.1.1.tar.gz) = 45414e7d71a1d554f89086fbac9938c1cfd299b4480ee678abd86571af84b53acfa021bdd5d2c40194f4acf1163787e2b7539ebe1d1abf7eea57297cca7888b8
Size (R/htmltools_0.5.1.1.tar.gz) = 71567 bytes
SHA1 (R/htmltools_0.5.2.tar.gz) = 7f86a730e00930e9c9a94637b70cd8e3a47bc819
RMD160 (R/htmltools_0.5.2.tar.gz) = 35eb1234e98a9685a3b6375038b63b024c50149b
SHA512 (R/htmltools_0.5.2.tar.gz) = 10d605439621d4ae46a6b10580ddcbdbb4dc52c9b50f3d8a7c0a1ca8f86087ad4949efdaf7e445fd752ad4d58e2601e1fc7f262f9f0a8760ea883aac3cb7698c
Size (R/htmltools_0.5.2.tar.gz) = 124510 bytes

0 comments on commit abb25ee

Please sign in to comment.