Links impact ToC and annotations

I just noticed something in DT4 beta 2, and I wasn’t sure if it was a bug or an intended result.

Working with an RTF file, if I underline an entire line, it will appear in the Inspector’s Table of Contents and Annotations. However, if that line contains a link (i.e. one word in the line is linked, not the entire line), it changes this behavior:

  • ToC no longer lists the line
  • Annotations breaks the single line into multiple annotations: one for link, and others for the unlinked text.

Is this as intended? If so, I’d request that neither behavior happen.


These conditions are likely due to it breaking up the line into separate attribute runs.

The complete line has to use the same style (bold, underlined), otherwise it’s not accepted.

That’s unfortunate (I often link partial lines) but understood.

I see that markdown handles this fine. (Alas, if only I could stand using markdown!)

Thanks for confirming!

Greener

:joy: