页面地步一堆乱码,这样子:
Powered by Hexo Theme - NexT.Mist
���� 8�|� �� �
然后审查元素是这样:
<body itemscope="" itemtype="http://schema.org/WebPage" lang="en" class="" style="padding-right: 320px;">
<script type="text/javascript">
if (Object.prototype.toString.call(window.Promise) !== '[object Function]') {
window.Promise = null;
}
</script>
<script type="text/javascript" src="/lib/jquery/index.js?v=2.1.3"></script>
<script type="text/javascript" src="/lib/fastclick/lib/fastclick.min.js?v=1.0.6"></script>
<script type="text/javascript" src="/lib/jquery_lazyload/jquery.lazyload.js?v=1.9.7"></script>
<script type="text/javascript" src="/lib/velocity/velocity.min.js?v=1.2.1"></script>
<script type="text/javascript" src="/lib/velocity/velocity.ui.min.js?v=1.2.1"></script>
<script type="text/javascript" src="/lib/fancybox/source/jquery.fancybox.pack.js?v=2.1.5"></script>
<script type="text/javascript" src="/js/src/utils.js?v=5.1.0"></script>
<script type="text/javascript" src="/js/src/motion.js?v=5.1.0"></script>
<script type="text/javascript" src="/js/src/scrollspy.js?v=5.1.0"></script>
<script type="text/javascript" src="/js/src/post-details.js?v=5.1.0"></script>
<script type="text/javascript" src="/js/src/bootstrap.js?v=5.1.0"></script>
"
����A 8�|� ��� �"
</body>
我对比了正常文件底部元素,应该是这样的:
<body itemscope="" itemtype="http://schema.org/WebPage" lang="en" class="" style="padding-right: 320px;">
<script type="text/javascript">
if (Object.prototype.toString.call(window.Promise) !== '[object Function]') {
window.Promise = null;
}
</script>
<script type="text/javascript" src="/lib/jquery/index.js?v=2.1.3"></script>
<script type="text/javascript" src="/lib/fastclick/lib/fastclick.min.js?v=1.0.6"></script>
<script type="text/javascript" src="/lib/jquery_lazyload/jquery.lazyload.js?v=1.9.7"></script>
<script type="text/javascript" src="/lib/velocity/velocity.min.js?v=1.2.1"></script>
<script type="text/javascript" src="/lib/velocity/velocity.ui.min.js?v=1.2.1"></script>
<script type="text/javascript" src="/lib/fancybox/source/jquery.fancybox.pack.js?v=2.1.5"></script>
<script type="text/javascript" src="/js/src/utils.js?v=5.1.0"></script>
<script type="text/javascript" src="/js/src/motion.js?v=5.1.0"></script>
<script type="text/javascript" src="/js/src/scrollspy.js?v=5.1.0"></script>
<script type="text/javascript" src="/js/src/post-details.js?v=5.1.0"></script>
<script type="text/javascript" src="/js/src/bootstrap.js?v=5.1.0"></script>
<script id="__bs_script__">//<![CDATA[
document.write("<script async src='http://HOST:3000/browser-sync/browser-sync-client.js?v=2.17.6'><\/script>".replace("HOST", location.hostname));
//]]></script><script async="" src="http://localhost:3000/browser-sync/browser-sync-client.js?v=2.17.6"></script>
</body>
body 中省略了 div 等元素, 请问大家这是由于什么具体的问题导致的? 从表面上看, 是由于 markdown 文件中存在不能解析的格式, 但是具体到哪个格式不能解析,我确定不了,因为我 调整同一个格式,每次得到结果可能不同
谢谢大家了~~~
1
Haiwx 2017-05-02 17:25:15 +08:00
你是不是用了 Notepad++
|
2
Nicksxs 2017-05-02 17:26:15 +08:00
编码问题吧
|
5
ansheng 2017-05-02 17:49:45 +08:00
乱码。。。。。
|
6
JimmyCai 2017-05-02 17:50:36 +08:00
之前也遇到过这个奇怪的问题,似乎和 BrowserSync 插件有关。
如果是直接 hexo g 倒是没问题。 |