<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>

                企業??AI智能體構建引擎,智能編排和調試,一鍵部署,支持知識庫和私有化部署方案 廣告
                # package html `import "html"` html包提供了用于轉義和解轉義HTML文本的函數。 ## Index * [func EscapeString(s string) string](#EscapeString) * [func UnescapeString(s string) string](#UnescapeString) ## func [EscapeString](https://github.com/golang/go/blob/master/src/html/escape.go#L229 "View Source") ``` func EscapeString(s string) string ``` EscapeString函數將特定的一些字符轉為逸碼后的字符實體,如"&lt;"變成"&lt;"。 它只會修改五個字符:&lt;、&gt;、&、'、"。 UnescapeString(EscapeString(s)) == s總是成立,但是兩個函數順序反過來則不一定成立。 ## func [UnescapeString](https://github.com/golang/go/blob/master/src/html/escape.go#L243 "View Source") ``` func UnescapeString(s string) string ``` UnescapeString函數將逸碼的字符實體如"&lt;"修改為原字符"&lt;"。它會解碼一個很大范圍內的字符實體,遠比函數EscapeString轉碼范圍大得多。例如"&aacute;"解碼為"á","&#225;"和"&xE1;"也會解碼為該字符。
                  <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>

                              哎呀哎呀视频在线观看