mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-03 22:47:32 -05:00 
			
		
		
		
	Merge pull request #4175 from Striffly/patch-2
Support PDF variables with UTF-8 characters
This commit is contained in:
		
						commit
						f1042b1079
					
				@ -161,7 +161,7 @@ trait PdfMakerUtilities
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        $html = strtr($html, $variables['values']);
 | 
					        $html = strtr($html, $variables['values']);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        @$this->document->loadHTML($html);
 | 
					        @$this->document->loadHTML(mb_convert_encoding($html, 'HTML-ENTITIES', 'UTF-8'));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        $this->document->saveHTML();
 | 
					        $this->document->saveHTML();
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user