Movatterモバイル変換


[0]ホーム

URL:


htmltools0.5.9.9000

Mark Characters as HTML

Source:R/tags.R
HTML.Rd

Marks the given text as HTML, which means thetag functions will knownot to perform HTML escaping on it.

HTML(text,..., .noWS=NULL)

Arguments

text

The text value to mark with HTML

...

Any additional values to be converted to character andconcatenated together

.noWS

Character vector used to omit some of the whitespace that wouldnormally be written around this HTML. Valid options includebefore,after, andoutside (equivalent tobefore andend).

Value

The inputtext, but marked as HTML.

Examples

el<-div(HTML("I like <u>turtles</u>"))cat(as.character(el))#> <div>I like <u>turtles</u></div>

[8]ページ先頭

©2009-2025 Movatter.jp