2014-09-25 68 views
0

我非常抱歉我的无能,如果有人能帮助我验证这一点,我会非常感激。Tumblr javascript警告/错误

警告

Warning Line 2, Column 653: The language attribute on the script element is obsolete. You can safely omit it. 

…/assets/scripts/pre_tumblelog.js?_v=e90984c6ca35aacd4904439beb8bf066"></script> 

错误

Error Line 3, Column 121: Stray doctype. 
….0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 


Error Line 15, Column 66: Stray start tag html. 
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US"> 


Error Line 15, Column 66: Cannot recover after last error. Any further errors will be ignored. 
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US"> 
+0

分享您的代码。 – 2014-09-25 03:18:26

+0

我修改了你的问题只是错误。当你有一个活的例子和支持它的代码时,请更新它以包括间距问题。 – mikedidthis 2014-09-25 07:46:12

回答

0

警告

可悲的是没有什么可以做这个错误。错误来自Tumblrs自己的脚本:

…/assets/scripts/pre_tumblelog.js 

这是他们必须直接解决的问题。也许消息支持给他们一个领导。

错误

没有代码,它是一种猜测。看起来你错过了<!doctype>这是<html>标签上的错误。替换为以下:

<!doctype html> 
<html dir="ltr" lang="en-us"> 

您还可能有两个<html>标签,这是不允许的。

+0

http://pastebin.com/qRe3mpja这里是代码 – 2014-09-25 12:59:26

+0

@EdmondCorcoran我的意思是用空间问题和相关代码更新问题。现场示例会非常有帮助! – mikedidthis 2014-09-25 13:36:34