Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=592823

--- Comment #5 from Raphaƫl Hertzog <raph...@ouaza.com> 2010-05-21 09:43:16 EDT 
---
Trying to fix this, I discovered that's because $node->look_up() (from
XML::Element) would happily return the element itself. So the following change
is also needed:
@@ -335,7 +335,7 @@ sub get_msgs {
             qr/$TRANSTAGS/,
             sub {
                 not defined(
-                    $_[0]->look_up(
+                    $_[0]->parent()->look_up(
                         '_tag',
                         qr/$IGNOREBLOCKS/,
                         sub {

With this, <indexterm> doesn't split the <para> anymore but it still doesn't
appear in the translation string of the para, it has its own string. This might
be ok but I have not been able to find the proper way to keep it inline. I'm
not sure whether the above change has other undesired side-effects.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
publican-list mailing list
publican-list@redhat.com
https://www.redhat.com/mailman/listinfo/publican-list
Wiki: https://fedorahosted.org/publican

Reply via email to