Crash on HTML export when notes contain hyperlinks, and messed up HTML
Steps to reproduce
1. Export the attached file starting with "B272" as HTML
2. BUG: ID crashes
3. EXPECTED: No crash
4. QUICK FIX: Remove all notes that contain hyperlinks
5. RESULT: No crash on export
Note: The reason for crashing is NOT that many of the URLs contain a colon in a non-standard place. You can enter any URL and it will still crash.
This problem happens with about 80% of files with links in endnotes. It will not happen when endnotes are converted to footnotes. 20% of the files do export without crashing, but the HTML of endnotes is often messed up.
POSSIBLY RELATED ANOTHER BUG
Steps to reproduce
1. Export the attached file starting with "B617" as HTML
2. See the HTML of the endnote 18. The last sentence is repeated twice
3. See endnote 11. The <a> tag is not inside the "hyperlink" span, but appears at the very end, outside of the main "endnote-011" span.
It could be that ID messes up HTML in endnotes, sometimes so badly that it crashes.
Using latest Indesign 18.0 on Macos Ventura 13.01 on M1 chip