learnr (version 0.10.1)

disable_all_tags: Disable all html tags

Description

Method to disable all html tags to not allow users to interact with the html.

Usage

disable_all_tags(ele)

Arguments

ele

html tag element

Examples

Run this code
# NOT RUN {
# add an href to all a tags
disable_all_tags(
  htmltools::tagList(
    htmltools::a(),
    htmltools::a()
  )
)
# }

Run the code above in your browser using DataLab