<div dir="ltr">I&#39;have experienced a weird problem with html footnote. I&#39;m using a Mac with Oxygen 14.2 but whenever I try to produce an html file from an xml snippet like this one, (using the standard HTML docbook 5.0 transformation)<div>

<br></div><div>







<p>  &lt;para&gt;Il 27 gennaio 1961, al Teatro dell’Opera a Roma, venne proiettato in anteprima un<br>
                film di produzione privata .... <span>&lt;footnote&gt;</span><br>
            <span>&lt;para&gt;</span>Lanocita A. (Lan) 1961, Rassegna<br>
                    cinematografica, «Corriere della Sera», 11 febbraio, 6.<span>&lt;/para&gt;</span><br>
         <span>&lt;/footnote&gt;</span>, commentò il<br>
                «Corriere della Sera». L’ufficialità della pellicola è confermata dai dubbi<br>
                insinuati dalla stampa comunista sul finanziamento governativo della pellicola e<br>
                dalle recensioni elogiative apparse sulla stampa cattolica [Merolla 2004, 131].<br>
              <span>&lt;footnote&gt;</span><br>
            <span>&lt;para&gt;</span>Centro cattolico cinematografico<br>
                    1961, Viva l’Italia, «Segnalazioni cinematografiche», 28 (XLIX), gennaio.<span>&lt;/para&gt;</span><br>
         <span>&lt;/footnote&gt;</span>.<span>&lt;/para&gt;</span></p><p><br></p><p><span>I obtain a footnote link that doesn&#39;t work properly</span></p>
<p><span><span style="font-family:monospace;font-size:medium;white-space:pre-wrap">&lt;a <span>href</span>=&quot;<a href="#13df29c8626b3101_ftn.d5e37">#ftn.d5e37</a>&quot; <span>class</span>=&quot;<span>footnote</span>&quot;&gt;</span><span style="font-family:monospace;font-size:medium;white-space:pre-wrap">&lt;sup <span>class</span>=&quot;<span>footnote</span>&quot;&gt;</span><span style="font-family:monospace;font-size:medium;white-space:pre-wrap">&lt;a <span>name</span>=&quot;<span>d5e37</span>&quot;&gt;</span><span style="font-family:monospace;font-size:medium;white-space:pre-wrap">&lt;/a&gt;</span><span style="font-size:medium;white-space:pre-wrap;font-family:monospace">[1]</span><span style="font-family:monospace;font-size:medium;white-space:pre-wrap">&lt;/sup&gt;</span><span style="font-family:monospace;font-size:medium;white-space:pre-wrap">&lt;/a&gt;</span><br>

</span></p><p><span><span style="white-space:pre-wrap"><font face="arial, helvetica, sans-serif">this link refers to </font></span></span></p><p><span style="font-family:monospace;font-size:medium;white-space:pre-wrap"> </span><font face="monospace" size="3"><span style="white-space:pre-wrap">&lt;div id=&quot;ftn.d5e37&quot; class=&quot;footnote&quot;&gt;</span></font><span style="font-size:medium;font-family:monospace;white-space:pre-wrap">&lt;a href=&quot;<a href="#13df29c8626b3101_d5e37">#d5e37</a>&quot; class=&quot;para&quot;&gt;</span><span style="font-size:medium;font-family:monospace;white-space:pre-wrap">&lt;sup class=&quot;para&quot;&gt;</span><span style="font-size:medium;white-space:pre-wrap;font-family:monospace">[1] </span><span style="font-size:medium;font-family:monospace;white-space:pre-wrap">&lt;/sup&gt;</span><span style="font-size:medium;font-family:monospace;white-space:pre-wrap">&lt;/a&gt; </span><span style="white-space:pre-wrap"><font face="arial, helvetica, sans-serif">that works.</font></span></p>

<p><font face="arial, helvetica, sans-serif"><span style="white-space:pre-wrap">I think it is strange that this little bug (the anchor </span><span style="white-space:pre-wrap">&lt;a <span>name</span>=&quot;<span>d5e37</span>&quot;&gt;&lt;/a&gt; has to be moved out of the nested &lt;a&gt;) is still there. May be I am wrong. What can I do to solve this problem? I have to write a customisation stylesheet or there is something easier to do?</span></font></p>
<p style><font face="arial, helvetica, sans-serif"><span style="white-space:pre-wrap">Regards</span></font></p><p style><font face="arial, helvetica, sans-serif"><span style="white-space:pre-wrap">Claudio</span></font></p>

</div></div>