Never seen it do anything like that.
Where did the (#..) details of those link addresses come from??
Was there an existing TOC or Foot note that had those ? and Tidy 'fixed' the broken link? What is the preference setting for the 'Clean Source' preference.
FWIW I just use 'Pretty Print' mode
|