I just copied from examples I saw in the wild when I made Lantern.

It's just the text of the highlight in the "content" field and the URL in the "r" tag. I also remove all query strings except in some rare cases where they're meaningful (hardcoded, it's basically YouTube).

The "textquotewhatever" stuff are Lantern-specific and not really necessary, but I keep them just because the code I inherited uses those as fallback and who am I to overrule them?

Reply to this note

Please Login to reply.

Discussion

If I have to look at your code, to figure out what the spec describes, what is the spec for?