[publican-list] [Bug 592823] <indexterm> should not break a paragraph for translation

bugzilla at redhat.com bugzilla at redhat.com
Fri May 21 13:43:19 UTC 2010


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 <raphael at 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.




More information about the publican-list mailing list