|
BUG反饋
程序版本: |
X3.5 |
瀏覽器: |
Chrome 其他(請在帖子中詳細說明瀏覽器) |
BUG地址: |
隱藏內容 |
BUG截圖: |
- |
測試用戶名: |
隱藏內容 |
測試密碼: |
隱藏內容 |
在Discuz X3.5網站中,發布如下代碼如果使用了[code]標簽:
echo "<ul><li>{$entry} <a href='#' onclick='confirmEdit(" . $index . ", \"$description\", \"$amount\", \"$note\")'>編輯</a> <a href='#' onclick='confirmDelete(" . $index . ")'>刪除</a></li></ul>";
發布后會轉義為如下語句:
echo "<ul><li>{$_SESSION['entries'][$index]} <a href='#' onclick='confirmEdit(" . $index . ", "$description", "$amount", "$note")'>編輯</a> <a href='#' onclick='confirmDelete(" . $index . ")'>刪除</a></li></ul>";
1 貢獻最佳答案
- echo "<ul><li>{$entry} <a href='#' onclick='confirmEdit(" . $index . ", "$description", "$amount", "$note")'>編輯</a> <a href='#' onclick='confirmDelete(" . $index . ")'>刪除</a></li></ul>";
復制代碼
|
|