<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                ## escape + [link](./escape "Link to this entry.") + [source](https://github.com/lodash/lodash/blob/4.5.0正式版/lodash.src.js#L12160 "View in source.") + [npm](https://www.npmjs.com/package/lodash.escape "See the npm package.") ``` _.escape([string='']) ``` 轉義字符 "&", "&lt;", "&gt;", '"', "'", 以及 "`" 為HTML實體字符。 **注意:** 不會轉義其他字符,如果需要,可以使用第三方庫,例如 [_he_](https://mths.be/he)。 雖然 "&gt;" 是對稱轉義的,像是 "&gt;" 和 "/" 沒有特殊的意義,所以不需要在 HTML 中轉義。 除非它們是標簽的一部分,或者是不帶引號的屬性值。 查看 [Mathias Bynens 的文章](https://mathiasbynens.be/notes/ambiguous-ampersands) (under "semi-related fun fact") 了解詳情 在 IE &lt; 9 中轉義引號,因為會中斷屬性值或 HTML 注釋,查看 [HTML5 安全列表](https://html5sec.org/) 的 [#59](https://html5sec.org/#59), [#102](https://html5sec.org/#102), [#108](https://html5sec.org/#108), 以及 [#133](https://html5sec.org/#133) 了解詳情 當解析為 HTML 時應該總是 [引用屬性值](http://wonko.com/post/html-escaping) 以減少 XSS 的可能性。 ### 參數 1. [string=''] (string) 要轉義的字符串 ### 返回值 (string) 返回轉義后的字符串 ### 示例 ``` _.escape('fred, barney, & pebbles'); // => 'fred, barney, &amp; pebbles' ```
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看