The following document has only a hyperlink (defined with a w:hyperlink
) in it.
hyperlink.docx (11.1 KB)
When this document is compared to itself, the following document is produced.
self-compared.docx (10.6 KB)
This document looks the same in Word, but the hyperlink’s internal representation has changed to a sequence of w:fldChar
s, and the \h
switch has been added.
Note that this seems to happen with hyperlinks in all kinds of situations when comparing documents. The intent of this simple reproduction is to demonstrate that it happens even when the hyperlink cannot possibly be different because the two documents being compared are the same.
Java, version 22.1.
Filed internally as #8476.