Hi,
I'm using PD4ML 3.5.1-b8 pro, and I'm having trouble with simple <a> tag rendering.
My code looks like this:
Code:
StringReader isr = new StringReader("<html><head></head><body><a href='http://www.google.com'>Google</a></body></html>");
ByteArrayOutputStream stream = new ByteArrayOutputStream();
PD4ML pd4ml = new PD4ML();
try {
pd4ml.render(isr, stream);
}
return stream.toByteArray();
However, even though the "Google" shows up in blue and underlined, I can't click on it in Adobe Acrobat to open a link.
On the other hand, if I also use a PD4PageMark footer and setHtmlTemplate, any <a> tags in the footer will work just fine. What am I doing wrong to get <a> tags in the main body to be rendered so they are still functional?
Thanks.