(s, { useUnsafeMarkdown: o = !1 } = {})
| 69135 | }) |
| 69136 | : null |
| 69137 | } |
| 69138 | function sanitizer(s, { useUnsafeMarkdown: o = !1 } = {}) { |
| 69139 | const i = o, |
| 69140 | a = o ? [] : ['style', 'class'] |
| 69141 | return ( |
| 69142 | o && |
| 69143 | !sanitizer.hasWarnedAboutDeprecation && |
| 69144 | (console.warn( |
| 69145 | 'useUnsafeMarkdown display configuration parameter is deprecated since >3.26.0 and will be removed in v4.0.0.' |
| 69146 | ), |
| 69147 | (sanitizer.hasWarnedAboutDeprecation = !0)), |
| 69148 | xP.sanitize(s, { |
| 69149 | ADD_ATTR: ['target'], |
| 69150 | FORBID_TAGS: ['style', 'form'], |
| 69151 | ALLOW_DATA_ATTR: i, |
| 69152 | FORBID_ATTR: a, |
| 69153 | }) |
| 69154 | ) |
| 69155 | } |
| 69156 | sanitizer.hasWarnedAboutDeprecation = !1 |
| 69157 | class BaseLayout extends Re.Component { |
no outgoing calls
no test coverage detected