掌上百科 - PDAWIKI

用户名  找回密码
 免费注册

QQ登录

只需一步,快速开始

查看: 760|回复: 2

[求助] 词条标题中的字图如何处理才能正确显示?

[复制链接]
  • TA的每日心情
    无聊
    2022-7-21 15:56
  • 签到天数: 216 天

    [LV.7]常住居民III

    发表于 2021-2-2 20:44:13 | 显示全部楼层 |阅读模式
    显示效果请看下图。词条内容中的字图能够正确显示,而词条标题中的字图无法显示,显示内容仍是源代码。
    . f+ g4 t" ]( H0 j: ?& S6 Z! D$ ?" E
    <img src=file:///23753_.gif>弧! g: {' i( p, u5 d7 L& i+ ]3 ?  W3 \
    <script>window.addEventListener('DOMContentLoaded', function(){var hws=document.querySelectorAll('font[size="+2"][color][style]');if(!hws[0]) return;if(hws[0].hasAttribute('js_load')) return;hws[0].setAttribute('js_load', '');for (var i=0; i<hws.length; ++i){hws.style.cursor='pointer';hws.setAttribute('onclick', JYBGYCD_scrollPosition(hws[i==hws.length-1?0:i+1]));}});function JYBGYCD_scrollPosition(target){_id=getId(target);if(!document.querySelector('.bd_body'))return "window.location.href='#"+_id+"'";return "window.location.href='entry://#"+_id+"'";}function getId(target){var _id=target.getAttribute('id');if(!_id){_id='random'+Math.round(Math.random()*100000);target.setAttribute('id', _id);}return _id;}</script><style>a{text-decoration:none}a:link{color:#1257F9}PUA{color:#FF0000}</style><script>function SetCode(s){if(window.clipboardData){window.clipboardData.setData("Text",s);}else{var t=document.createElement("textarea");t.textContent=s;var body=document.body;body.appendChild(t);t.select();document.execCommand("copy");body.removeChild(t);}};</script><hr size=10 color=#6CAEFF><font style="font-family:FMing-p,FMing-1,FMing-2,FMing-3,FMing-F,FSung-p,FSung-1,FSung-2,FSung-3,FSung-F,Calibri,PMingLiU,PMingLiU-ExtB"/><font size=+2 color=#0000FF style="font-family:FPKai,FPKai-ExtB,FKai-F,KaiTi,FMing-p,FMing-1,FMing-2,FMing-3,FMing-F,FSung-p,FSung-1,FSung-2,FSung-3,FSung-F,PMingLiU-ExtB"><img src=file:///23753_.gif>弧</font><hr color=#6CAEFF><span style="margin-left:4em;text-indent:-3em;display:block"><font color=#000088>注音</font>:<font face="DFKai-SB" color=#800080>ㄧㄢˇ ㄏㄨˊ</font></span><span style="margin-left:4em;text-indent:-3em;display:block"><font color=#000088>拼音</font>:<font face="Calibri" color=#008080>yǎn hú</font></span><hr color=#6CAEFF><span style="padding-left:1em;display:block">  以山桑製成的弓。<br><font color=#008080>◇</font><font color=#008080>《國語.鄭語》:「<img src=file:///23753_.gif>弧箕服,實亡周國。」</font>三國吳.韋昭.注:「山桑曰橛。弧,弓也。」</span>
    4 K3 O4 m8 o) ]+ X: r4 ?</>' |3 J. b2 W% H0 q  Y+ r
    3 A, X7 W8 z5 m* O( ]
  • TA的每日心情
    慵懒
    2022-11-19 00:41
  • 签到天数: 703 天

    [LV.9]以坛为家II

    发表于 2021-2-3 08:13:21 | 显示全部楼层
    是指左边那一栏词头吗,那个不支持图片,就是纯字符串。
  • TA的每日心情
    无聊
    2022-7-21 15:56
  • 签到天数: 216 天

    [LV.7]常住居民III

     楼主| 发表于 2021-2-3 10:26:54 | 显示全部楼层
    jiangnianshun 发表于 2021-2-3 08:13
    - E9 }& q, i% Q- u2 a' i+ ^$ b是指左边那一栏词头吗,那个不支持图片,就是纯字符串。
    % I# P, t  ~" ]4 Z0 r6 J- l) {
    对,就是指左边那一栏词头,我还以为是我的处理方式不对,才无法正常显示,原来这里不支持图片呀。多谢
    您需要登录后才可以回帖 登录 | 免费注册

    本版积分规则

    小黑屋|手机版|Archiver|PDAWIKI |网站地图

    GMT+8, 2025-5-22 00:46 , Processed in 0.018724 second(s), 21 queries .

    Powered by Discuz! X3.4

    © 2001-2023 Discuz! Team.

    快速回复 返回顶部 返回列表