<div dir="ltr">Here's another example where similar links actually cause the citations to fail to match:<div><br></div><div>...</div><div><div>    <note title="Note to Readers"></div><div><t>The source code and issues list for this draft can be found</div><div>in <eref target="<a href="https://github.com/org/repo">https://github.com/org/repo</a>"><a href="https://github.com/org/repo">https://github.com/org/repo</a></eref>.</t></div><div>    </note></div><div>  </front></div><div>  <middle></div><div><section anchor="introduction" title="Introduction"></div><div><t><eref target="<a href="https://this.is.2.in/the/body/but/1/in/the/refs/">https://this.is.2.in/the/body/but/1/in/the/refs/</a>">Misnumbered</eref></t></div></div><div>...</div><div><br></div><div><br></div><div>Produces:</div><div><br></div><div><div>1.  Introduction</div><div><br></div><div>   Misnumbered [2]</div><div><br></div><div>2.  References</div><div><br></div><div>2.1.  URIs</div><div><br></div><div>   [1] <a href="https://this.is.2.in/the/body/but/1/in/the/refs/">https://this.is.2.in/the/body/but/1/in/the/refs/</a></div></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Aug 28, 2017 at 3:39 PM, Jeffrey Yasskin <span dir="ltr"><<a href="mailto:jyasskin@chromium.org" target="_blank">jyasskin@chromium.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi RFC folks,<br>
<br>
If this isn't the right place to report a bug with xml2rfc, please<br>
point me toward the right place. I found you via<br>
<a href="https://xml2rfc.tools.ietf.org/experimental.html" rel="noreferrer" target="_blank">https://xml2rfc.tools.ietf.<wbr>org/experimental.html</a>.<br>
<br>
The attached XML (generated via kramdown-rfc2629 from the attached<br>
markdown) produces URLs [1] and [3], but not [2]. The three links are:<br>
<br>
<t><eref target="<a href="https://example.com/link1" rel="noreferrer" target="_blank">https://example.com/<wbr>link1</a>">Link 1</eref></t><br>
<t><eref target="<a href="https://example.com/link2" rel="noreferrer" target="_blank">https://example.com/<wbr>link2</a>"><a href="https://example.com/link2" rel="noreferrer" target="_blank">https://example.com/<wbr>link2</a></eref></t><br>
<t><eref target="mailto:<a href="mailto:link2@example.com">link2@example.<wbr>com</a>"><a href="mailto:link2@example.com">link2@example.com</a></eref><<wbr>/t><br>
<br>
And from that `xml2rfc test.xml` generates the following text:<br>
<br>
1.  Introduction<br>
<br>
   Link 1 [1]<br>
<br>
   <a href="https://example.com/link2" rel="noreferrer" target="_blank">https://example.com/link2</a><br>
<br>
   <a href="mailto:link2@example.com">link2@example.com</a> [3]<br>
<br>
2.  References<br>
<br>
2.1.  URIs<br>
<br>
   [1] <a href="https://example.com/link1" rel="noreferrer" target="_blank">https://example.com/link1</a><br>
<br>
   [3] mailto:<a href="mailto:link2@example.com">link2@example.com</a><br>
<span class="HOEnZb"><font color="#888888"><br>
Jeffrey<br>
</font></span></blockquote></div><br></div>