Some hyperlinks/cross-references lost in HTML export
When exporting a document containing hyperlinks and/or cross-references to HTML, some hyperlinks are lost.
See the screenshot of an example InDesign document attached. (This is an anonymised excerpt from a much larger document.) The index item at the bottom contains cross-references to numbered/lettered paragraphs in the text above.
In the actual HTML output files from both InDesign 2020 and 2021, some of those cross-references have not been correctly converted into hyperlinks. (Compare the links in the expected HTML output file.)
Ugly workaround: insert extra characters immediately before and after each distinct hyperlink/cross-reference. In the actual 'bookended links' HTML file you can see that I have inserted a $-sign before/after each hyperlink, and the links have been exported correctly. The $-sign can then be removed by search/replace in a text editor to produce the correct HTML (this is how the expected HTML file was created).
When it happens in a document, it happens consistently: the same hyperlinks are lost each time – but within the document there seems to be no pattern to the links that stick and the links that disappear once exported.
This example has been tested in InDesign 16.4 x64 and 15.1.4 x64 on Windows 10 and 16.3.2 on macOS Big Sur and the results are the same in each.
-
Michael commented
Still not fixed in ID2024
-
John W commented
Issue persists in InDesign 2022. We believe that the last version of InDesign to work correctly, before this bug appeared, was InDesign 2019.
-
[Deleted User] commented
This issue is still present in InDesign 2022.