ppypp伦理天堂,91手机在线视频,免费在线观看黄色毛片,夜夜穞天天穞狠狠穞AV美女按摩

聯系官方銷售客服

1835022288

028-61286886

投訴 已解決 讓字段完整的輸出代碼比如字段字段多行文本后臺添了加了內容前臺 7 0
awful(全能人才) VIP會員 OEM版權 2020-06-18 11:42:48 私信
迅睿CMS版本:4.3.7 #字段 #前臺 #后臺

讓字段完整的輸出HTML代碼,比如字段 “HTML字段” 多行文本 ,后臺添了加了內容,前臺顯示會過慮,,

解決方案
  • 過濾成什么樣子的

    • 2020-06-18 12:00:41
      Chrome 0
      完整的
      
      <svg class="bi bi-layers-fill  " width="1em" height="1em" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
        <path fill-rule="evenodd" d="M7.765 1.559a.5.5 0 0 1 .47 0l7.5 4a.5.5 0 0 1 0 .882l-7.5 4a.5.5 0 0 1-.47 0l-7.5-4a.5.5 0 0 1 0-.882l7.5-4z"/>
        <path fill-rule="evenodd" d="M2.125 8.567l-1.86.992a.5.5 0 0 0 0 .882l7.5 4a.5.5 0 0 0 .47 0l7.5-4a.5.5 0 0 0 0-.882l-1.86-.992-5.17 2.756a1.5 1.5 0 0 1-1.41 0l.418-.785-.419.785-5.169-2.756z"/>
      </svg>
      
      調用出的是:
      &lt;svg class=&quot;bi bi-layers-fill  &quot; width=&quot;1em&quot; height=&quot;1em&quot; viewBox=&quot;0 0 16 16&quot; fill=&quot;currentColor&quot; xmlns=&quot;http://www.w3.org/2000/svg&quot;&gt;    
      &lt;path fill-rule=&quot;evenodd&quot; d=&quot;M7.765 1.559a.5.5 0 0 1 .47 0l7.5 4a.5.5 0 0 1 0 .882l-7.5 4a.5.5 0 0 1-.47 0l-7.5-4a.5.5 0 0 1 0-.882l7.5-4z&quot;/&gt;    
      &lt;path fill-rule=&quot;evenodd&quot; d=&quot;M2.125 8.567l-1.86.992a.5.5 0 0 0 0 .882l7.5 4a.5.5 0 0 0 .47 0l7.5-4a.5.5 0 0 0 0-.882l-1.86-.992-5.17 2.756a1.5 1.5 0 0 1-1.41 0l.418-.785-.419.785-5.169-2.756z&quot;/&gt;    
      &lt;/svg&gt;     
      
      
      關閉了 XSS過慮

      回復迅??蚣軇撌既?/p>

  • 用php函數把html標簽實體化一下

    html_entity_decode

  • 你的調用標簽是怎么寫的,我照著給你寫就行

    • 2020-06-18 12:32:09
      Chrome 0

      回復迅??蚣軇撌既?/p>

      {module module=ggcx catid=40   order=displayorder,updatetime num=10}
         
          <li>
      	 <a href="{$t.tzlj}" class="btn btn-{$t.yanse} clearfix "><i > {$t.tubiao}</i><b>{$t.title}<br>{$t.dehz}</b> </a>
          </li>	 
      {/module}
      {$t.tubiao}    這個字段需要輸出html
  • {html_entity_decode($t.tubiao)}
    滿意答案
    短信幣+1
  • 2020-06-18 12:43:20
    Chrome 1小時32秒 0
    迅??蚣軇撌既耍禾兄x了!