htmltools 0.2.0
New features
-
Added support for URL based
HTMLDependency
objects. (#53) -
Tag functions now have a boolean parameter
_add_ws
, which determines if the tag should be surrounded by whitespace. Tags which are normally block elements (likediv
) have this default toTrue
, and tags which are normally inline elements (likespan
) have this default toFalse
. This makes it possible to create HTML where neighboring elements have no whitespace between them. For example,span(span("a"), span("b"))
will now yield<span><span>a</span><span>b</span></span>
. (#54)