Explorer

html.is-raw-text-element

description
Whether the text in an element is written as it is, without escaping (script, style, xmp, iframe, noembed, noframes, plaintext, as in the HTML serialization algorithm)
type
Fn(name: String) -> Boolean
expression
fn(name$0) =>
  match $0 {
    "script" =>
      true,
    "style" =>
      true,
    "xmp" =>
      true,
    "iframe" =>
      true,
    "noembed" =>
      true,
    "noframes" =>
      true,
    "plaintext" =>
      true,
    _ =>
      false
  }
visibility
public
html.is-raw-text-element (project html, branch main, snapshot hd1kHQmQUtgayk-Y5Eo_pcQPlqiL8dHKKndnKtdm-KI)
id: mkDoL03en38_dAKeIAX4nnJiYeYOJr-jdZIpMHghJrE
content hash: Q_HO8YJoiGlxfoVnG050e0oCVsmzYyGQKQoE3-qkvTA