I'm still having a few difficulties understanding how links in the HTML/PDF document should be handled in general.
Here's just some thoughts on how I intuitively think this should work:
Links to external documents on the same domain. In general, I suppose it would be best if all href's in the HTML document were absolute so that they still work when the document is rendered to an offline PDF (i.e. convert <a href="/index.php?id=123"> to <a href="http://example.com/index.php?id=123>). I'd bet money that there's some obscure TypoScript option that does exactly that.
Intra-document links. These should either contain only the fragment part of the URL (which should work in the PDF without any hassle) or the exact same document URL + fragment part (in which case the document URL should be stripped out).
@pstranghoener, is that assumption correct? What's the intended behaviour here?
I'm still having a few difficulties understanding how links in the HTML/PDF document should be handled in general.
Here's just some thoughts on how I intuitively think this should work:
href
's in the HTML document were absolute so that they still work when the document is rendered to an offline PDF (i.e. convert<a href="/index.php?id=123">
to<a href="http://example.com/index.php?id=123>
). I'd bet money that there's some obscure TypoScript option that does exactly that.@pstranghoener, is that assumption correct? What's the intended behaviour here?