mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-03 21:47:32 -05:00 
			
		
		
		
	fix pdfmaker issues with special chars
This commit is contained in:
		
							parent
							
								
									7234bec7e3
								
							
						
					
					
						commit
						f9b55dcd72
					
				@ -140,7 +140,7 @@ trait PdfMakerUtilities
 | 
				
			|||||||
                // .. in case string doesn't contain any HTML, we'll just return
 | 
					                // .. in case string doesn't contain any HTML, we'll just return
 | 
				
			||||||
                // raw $content.
 | 
					                // raw $content.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                $_child = $this->document->createElement($child['element'], isset($child['content']) ? $child['content'] : '');
 | 
					                $_child = $this->document->createElement($child['element'], isset($child['content']) ? htmlspecialchars($child['content']) : '');
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            $element->appendChild($_child);
 | 
					            $element->appendChild($_child);
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user