[spec] What to do of fragments when there is a redirection

On Tue, Dec 22, 2020 at 7:51 PM Philip Linde <linde.philip at gmail.com> wrote:


> It might be more robust to define the fragment as referring to the
> first heading line that has the fragment content as a prefix, but
> that's still prone to break with document changes.
>

Even HTML fragments break if their referents are deleted.  Nothing is
completely immune.

> For a good balance, one might have the fragment be a an exact match of
> the heading line you refer to
>

That's reasonable, but I think a prefix match would suffice; that way you
aren't tempted to make headings overly short in order to keep fragments
small.



John Cowan          http://vrici.lojban.org/~cowan        cowan at ccil.org
In politics, obedience and support are the same thing.  --Hannah Arendt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.orbitalfox.eu/archives/gemini/attachments/20201223/416d
9569/attachment.htm>

---

Previous in thread (9 of 27): 🗣️ Philip Linde (linde.philip (a) gmail.com)

Next in thread (11 of 27): 🗣️ William Orr (will (a) worrbase.com)

View entire thread.