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

John Cowan cowan at ccil.org
Wed Dec 23 18:39:34 GMT 2020


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/416d9569/attachment.htm>


More information about the Gemini mailing list