[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Converting a string to valid XHTML id?

From: Lennart Borgman
Subject: Re: Converting a string to valid XHTML id?
Date: Thu, 2 Dec 2010 13:26:31 +0100

On Thu, Dec 2, 2010 at 5:42 AM, PJ Weisberg <address@hidden> wrote:
>> In the context where it is used it is for export of org-mode files to
>> xhtml. Obviously if there are links to anchors within other files my
>> approach will fails.
>> So, hm, maybe I should reset this variable when starting a directory
>> tree export or a single file export rather than making it buffer
>> local. (But then I have to look into the export of directory trees in
>> org-mode which I have not done yet.)
> Just to be sure we're on the same page: the string MUST be unique
> within the output, but it may NOT be unique within the input?
> Therefore calling the function twice with the same argument must give
> different results?

No, I think they are already unique enough so to say in org-mode.
Otherwise the links within org-mode could not work.

So calling the function with the same argument must give the same
result all times. (AND that result must be unique, ie no other input
string should give the same result.)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]