svnno****@sourc*****
svnno****@sourc*****
2008年 3月 12日 (水) 22:54:27 JST
Revision: 406 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=bbs2ch&view=rev&rev=406 Author: flyson Date: 2008-03-12 22:54:26 +0900 (Wed, 12 Mar 2008) Log Message: ----------- ã¾ã¡BBS ã® HTML å¤æ´ã«å¯¾å¿ Modified Paths: -------------- trunk/bbs2chreader/chrome/content/bbs2chreader/server/thread.js -------------- next part -------------- Modified: trunk/bbs2chreader/chrome/content/bbs2chreader/server/thread.js =================================================================== --- trunk/bbs2chreader/chrome/content/bbs2chreader/server/thread.js 2008-03-08 10:34:00 UTC (rev 405) +++ trunk/bbs2chreader/chrome/content/bbs2chreader/server/thread.js 2008-03-12 13:54:26 UTC (rev 406) @@ -840,10 +840,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, "");