I sometimes refer to computers that I work on in the time tracking by the owner of the computer. This means a possesive '. For example "Installed Printer on Joe's Computer". The problem is that it shows up on the invoice as "Installed Printer on
Joe's computer". This is of course ugly to the customer so I manually change it and reprint, but that's annoying. I've also noticed this with the & character. I'm sure there are others like @, but those are the two I tend to use.

CommentFileSizeAuthor
#2 storm--699052-02.patch652 bytesjuliangb

Comments

juliangb’s picture

Version: 6.x-1.x-dev » 6.x-2.x-dev

Proposed solution from @vagabumming in #1291542: Storm Invoice doesn't convert html special characters back to ascii:

I've resolved the issue where I need it resolved myself by editing line 629 of storminvoice.theme.inc

from this: $pdf->MultiCell($pageWidth * .4, 0, $i->description, 1, 'L', $c, 1);
to this: $pdf->MultiCell($pageWidth * .4, 0, html_entity_decode($i->description,ENT_QUOTES), 1, 'L', $c, 1);

Also, changing to 2.x branch, as that is where a fix will be applied first.

juliangb’s picture

Status: Active » Needs review
StatusFileSize
new652 bytes

Patch for the above change, for testing.

juliangb’s picture

Status: Needs review » Closed (cannot reproduce)

I've just tested this on 2.x-dev and the characters show up fine on the pdf for me.

Please reopen if this is still a problem.