@ejjaadiargo, I think you would be better off ignoring any auto-numbering in HTML, which seems to be handled differently by different rendering engines. Resort to inserting the numbers yourself as ordinary text and just separate the paragraphs with <br> tags in the custom field. The possible variations of operating system, screen rendering, PDF generator, printer driver, browser, etc., are just too many, especially when few want to agree on or adhere to standards. My experience with custom fields teaches me that the simpler you keep things, the more reliable the results will be. In the end, being able to get the invoice out so you can be paid is much more satisfying that congratulating yourself on what a clever programmer you are.
Well @Tut actually, maybe the guide that mentions HTML in custom fields needs to be updated! Use HTML code in fields | Manager. I copied the text (from that page) and it did not go too well! The image worked, but the float style was ignored and I don’t know how “- Species: Malus domestica” + other points, was turned into a bullet point that is shown in the image.
Also the Signature example does not work (There is no height to the bounding box)
Hi @Tut. Just wanted to make sure that you understood that this was not a browser issue I was referring to! In fact the display in the Manager (and other browsers I tried) worked OK. However, the generated pdf file did not work correctly (as I specified).
I suspect at some time Markup was supported, hence dashes turning to bullets.
Markup? Are you perhaps referring to Markdown? Your comment would make more sense if you were. But, of course, there are different versions of Markdown (or its equivalents). And different browsers treat it differently.
Simple question, but complex answer. It depends on operating system, browser, etc. As a single example, on a Mac, I don’t see the apple image loaded from that particular URL, just the blue square of death with question mark. But I can load images from elsewhere. Variations in Markdown implementation can change hyphens to bullets, or not. This entire subject is why I am an advocate of simplicity when using Manager. Unless you’re a programming whiz kid, switching machines or program editions can change outcomes. What works in one environment can produce a different result elsewhere. It is very easy to be surprised by an unexpected result.
I stated that the right align did not work, and you stated that “It worked for me” and you made the same statement about the other 2 issues I pointed out (and of course that does not include the List Items that also failed)
I simply wanted to verify that they were working in the PDF produced, not the display.
So I’m not a whiz kid, and don’t like using terms like expert or guru, however but I have been working with computers since 1982. I’ve worked in banking and financial services industries and even maintained a self managed superfund software product around 12 years ago. I’ve been using Windows since version 2 and Excel since version 1, so I actually understand how most of the smoke and mirrors actually works.
I had a quick look at the Apitron PDF Kit (the 3rdparty addon) and can see that some HTML is never going to work well in Custom Fields due to what the library required to output it. (you would need to parse the field for html and make appropriate calls etc.)
So based on my findings, I think that maybe a list of acceptable html tags should be provided. Maybe a table with 3 columns, showing the tag, expected results for the display vs PDF Output. But that’s just my opinion
Well, it wasn’t a yes/no answer because I have seen different results under different circumstances. The rest of your post confirms what I said. Your description of your experience qualifies you as a whiz kid in my opinion. Most people would not even understand the things you wrote. Nor would they be able to take appropriate action. But, for what it’s worth, I agree it would be helpful to have a table of HTML syntax that works. But I do not have one.