@@ -125705,37 +125705,37 @@ interface <dfn interface>Sanitizer</dfn> {
125705125705
125706125706 <dl class="domintro">
125707125707 <dt><code data-x=""><var>config</var> = <var>sanitizer</var>.<span data-x="dom-Sanitizer-get">get</span>()</code></dt>
125708- <dd><p>Returns a copy of the sanitizer's configuration.</p></dd>
125708+ <dd><p>Returns a copy of the sanitizer's <span data-x="SanitizerConfig"> configuration</span> .</p></dd>
125709125709
125710125710 <dt><code data-x=""><var>sanitizer</var>.<span data-x="dom-Sanitizer-allowElement">allowElement</span>(<var>element</var>)</code></dt>
125711- <dd><p>Adds an element to the allow-list .</p></dd>
125711+ <dd><p>Ensures that the sanitizer configuration allows the specified element .</p></dd>
125712125712
125713125713 <dt><code data-x=""><var>sanitizer</var>.<span data-x="dom-Sanitizer-removeElement">removeElement</span>(<var>element</var>)</code></dt>
125714- <dd><p>Adds an element to the remove-list .</p></dd>
125714+ <dd><p>Ensures that the sanitizer configuration blocks the specified element .</p></dd>
125715125715
125716125716 <dt><code data-x=""><var>sanitizer</var>.<span data-x="dom-Sanitizer-replaceElementWithChildren">replaceElementWithChildren</span>(<var>element</var>)</code></dt>
125717- <dd><p>Adds an element to the list of elements to be replaced with their children .</p></dd>
125717+ <dd><p>Configures the sanitizer to remove the specified element but keep its child nodes .</p></dd>
125718125718
125719125719 <dt><code data-x=""><var>sanitizer</var>.<span data-x="dom-Sanitizer-allowAttribute">allowAttribute</span>(<var>attribute</var>)</code></dt>
125720- <dd><p>Adds an attribute to the allow-list .</p></dd>
125720+ <dd><p>Configures the sanitizer to allow the specified attribute globally .</p></dd>
125721125721
125722- <dt><code data-x=""><var>sanitizer</var>.<span data-x="dom-San -removeAttribute">removeAttribute</span>(<var>attribute</var>)</code></dt>
125723- <dd><p>Adds an attribute to the remove-list .</p></dd>
125722+ <dt><code data-x=""><var>sanitizer</var>.<span data-x="dom-Sanitizer -removeAttribute">removeAttribute</span>(<var>attribute</var>)</code></dt>
125723+ <dd><p>Configures the sanitizer to block the specified attribute globally .</p></dd>
125724125724
125725125725 <dt><code data-x=""><var>sanitizer</var>.<span data-x="dom-Sanitizer-allowProcessingInstruction">allowProcessingInstruction</span>(<var>pi</var>)</code></dt>
125726- <dd><p>Adds a processing instruction to the allow-list .</p></dd>
125726+ <dd><p>Configures the sanitizer to allow the specified processing instruction .</p></dd>
125727125727
125728125728 <dt><code data-x=""><var>sanitizer</var>.<span data-x="dom-Sanitizer-removeProcessingInstruction">removeProcessingInstruction</span>(<var>pi</var>)</code></dt>
125729- <dd><p>Adds a processing instruction to the remove-list .</p></dd>
125729+ <dd><p>Configures the sanitizer to block the specified processing instruction .</p></dd>
125730125730
125731125731 <dt><code data-x=""><var>sanitizer</var>.<span data-x="dom-Sanitizer-setComments">setComments</span>(<var>allow</var>)</code></dt>
125732- <dd><p>Sets whether comments are allowed .</p></dd>
125732+ <dd><p>Sets whether the sanitizer preserves comments .</p></dd>
125733125733
125734125734 <dt><code data-x=""><var>sanitizer</var>.<span data-x="dom-Sanitizer-setDataAttributes">setDataAttributes</span>(<var>allow</var>)</code></dt>
125735- <dd><p>Sets whether custom data attributes are allowed .</p></dd>
125735+ <dd><p>Sets whether the sanitizer preserves custom data attributes (e.g., <code>data-*</code>) .</p></dd>
125736125736
125737125737 <dt><code data-x=""><var>sanitizer</var>.<span data-x="dom-Sanitizer-removeUnsafe">removeUnsafe</span>()</code></dt>
125738- <dd><p>Removes all unsafe elements and attributes from the configuration .</p></dd>
125738+ <dd><p>Modifies the configuration to automatically remove elements and attributes that are considered unsafe .</p></dd>
125739125739 </dl>
125740125740
125741125741 <p>A <code>Sanitizer</code> has an associated <dfn for="Sanitizer">configuration</dfn> (a
0 commit comments