4 ms·
I must say I prefer the RFC version - while still vulnerable to rotting from text changes, at least it should still link to the same general vicinity.
by larkeith 8y ago
I must say I prefer the RFC version - while still vulnerable to rotting from text changes, at least it should still link to the same general vicinity.
- mediumdeviation 8y agoHTML documents don't generally have the concept of lines since text reflow based on the way user agent (browser) is rendering the document. That's why the RFC only talks about text/plain MIME type - browsers render those with all line breaks intact. You can maybe use a CSS selectors, but that adds a tremendous amount of complexity and is not easy for non-web developers to read anymore.
- larkeith 8y agoOops, good point. I suppose you could do by newline/paragraph plus character instead, but that would be even more vulnerable to text changes.