[publican-list] clean_ids duplicates IDs in <listitem> tags

David O'Brien daobrien at redhat.com
Fri Jul 12 03:53:03 UTC 2013


On 07/12/2013 09:13 AM, Jeff Fearn wrote:
> On 07/12/2013 01:19 AM, David O'Brien wrote:
>> I don't usually do this, but I  had cause to do it today.
>>
>> I put an ID in two <listitem> tags because I needed to refer to them
>> later, using an <xref>. The original ID was just invented, e.g., fred,
>> and clean_ids converted it to what it "should" be (based on section,
>> title, etc.).
>>
>> Subsequent use of clean_ids, however, resulted in duplication of the
>> ID, so instead of "sect-My_Section-My_List", it created
>> "sect-My_Section-My_List-sect-My_Section-My_List". Each use of
>> clean_ids added another level to the ID.
>>
>> Is this fixable? Is there a better way to do it?
>
> This will happen when you put IDs in tags that do not have title tags in
> them. It is a limitation of clean_ids.
>
> FYI It's also a sign that you just broke translation.
>
> Cheers, Jeff.
>
ok, can try again next time around with a title. I just undid it and 
went back to manual "Repeat step 3" (and hope that step 3 doesn't move) 
for this release.

Not sure what you mean by "broke translation". Care to elaborate?

Thanks

-- 

/David




More information about the publican-list mailing list