svnno****@sourc*****
svnno****@sourc*****
2008年 3月 12日 (水) 22:54:56 JST
Revision: 407 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=bbs2ch&view=rev&rev=407 Author: flyson Date: 2008-03-12 22:54:56 +0900 (Wed, 12 Mar 2008) Log Message: ----------- [04_BRANCH] ã¾ã¡BBS ã® HTML å¤æ´ã«å¯¾å¿ Modified Paths: -------------- branches/bbs2chreader/04_BRANCH/chrome/content/bbs2chreader/server/thread.js -------------- next part -------------- Modified: branches/bbs2chreader/04_BRANCH/chrome/content/bbs2chreader/server/thread.js =================================================================== --- branches/bbs2chreader/04_BRANCH/chrome/content/bbs2chreader/server/thread.js 2008-03-12 13:54:26 UTC (rev 406) +++ branches/bbs2chreader/04_BRANCH/chrome/content/bbs2chreader/server/thread.js 2008-03-12 13:54:56 UTC (rev 407) @@ -848,10 +848,13 @@ // bZ[Wªªñsɪ©êÄ¢éÌÅêsÉ·é var datLines = aResponse.replace(/\n \]\<\/font\>/gm, " ]</font>"); datLines = datLines.split("\n"); + // bZ[WÆ^CgÈOÌsðí + var reg = /^<(?:title>|dt>\d)/; datLines = datLines.filter(function(aElement, aIndex, aArray){ - return (aElement.match(/^<ti|dt/)); + return reg.test(aElement); }); + // zñÌêÂÚÍ^Cg var datTitle = datLines.shift().replace(/<\/?title>/g, "");