From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Rose Subject: Re: Problem with org-info.js? Date: Sat, 27 Jun 2009 23:49:56 +0200 Message-ID: <877hyxz6rf.fsf@kassiopeya.MSHEIMNETZ> References: <5236d6f90906251156o2942bb33ta6372482b9326b2c@mail.gmail.com> <87zlbwhunu.fsf@kassiopeya.MSHEIMNETZ> <5236d6f90906261414v6f4434f8t4fa77873372e555e@mail.gmail.com> <87ab3utwcu.fsf@kassiopeya.MSHEIMNETZ> <5236d6f90906271245o590cdab3m726477353de80236@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MKfik-0004o2-Qs for emacs-orgmode@gnu.org; Sat, 27 Jun 2009 17:46:02 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MKfig-0004nN-En for emacs-orgmode@gnu.org; Sat, 27 Jun 2009 17:46:02 -0400 Received: from [199.232.76.173] (port=52199 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MKfig-0004nK-9Z for emacs-orgmode@gnu.org; Sat, 27 Jun 2009 17:45:58 -0400 Received: from mail.gmx.net ([213.165.64.20]:36420) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1MKfif-0007Dq-M2 for emacs-orgmode@gnu.org; Sat, 27 Jun 2009 17:45:58 -0400 In-Reply-To: <5236d6f90906271245o590cdab3m726477353de80236@mail.gmail.com> (Xin Shi's message of "Sat, 27 Jun 2009 15:45:23 -0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Xin Shi Cc: emacs-orgmode Xin Shi writes: > Hi Sebastian, > > Thanks for your quick fix. > > Just curious, what was the problem before? getElementsByTagName() is not recursive when called on certain HTML elements. I had to use `document.getElementsByTagName("a");' instead to catch links inside list elements. Before I did that for each sections block level elements (the headline and the
). I wonder how no one noticed that for such a long time :) links in a list is not too strange... > Shall I just download the new js file? Yes. Nothing else has changed, just added that fix. It looks as if some more stuff has changed sometimes, because I minify the script. That leads to bigger chunks if you diff it. The diff of the org-info-src.js file shows what has actually changed. Best wishes Sebastian