mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-10-31 14:07:32 -04:00 
			
		
		
		
	Merge pull request #6384 from beganovich/v5-revert-pdf-spacing
Revert markdown changes
This commit is contained in:
		
						commit
						3ca8b88f3f
					
				| @ -348,7 +348,7 @@ class Design extends BaseDesign | |||||||
| 
 | 
 | ||||||
|         $items = $this->transformLineItems($this->entity->line_items, $type); |         $items = $this->transformLineItems($this->entity->line_items, $type); | ||||||
| 
 | 
 | ||||||
|         // $this->processMarkdownOnLineItems($items);
 |         $this->processMarkdownOnLineItems($items); | ||||||
| 
 | 
 | ||||||
|         if (count($items) == 0) { |         if (count($items) == 0) { | ||||||
|             return []; |             return []; | ||||||
|  | |||||||
| @ -95,7 +95,7 @@ trait PdfMakerUtilities | |||||||
|                 $child['content'] = $this->commonmark->convertToHtml($child['content'] ?? ''); |                 $child['content'] = $this->commonmark->convertToHtml($child['content'] ?? ''); | ||||||
|             } |             } | ||||||
| 
 | 
 | ||||||
|             $child['content'] = array_key_exists('content', $child) ? nl2br($child['content']) : ''; |             // $child['content'] = array_key_exists('content', $child) ? nl2br($child['content']) : '';
 | ||||||
| 
 | 
 | ||||||
|             if (isset($child['content'])) { |             if (isset($child['content'])) { | ||||||
|                 if (isset($child['is_empty']) && $child['is_empty'] === true) { |                 if (isset($child['is_empty']) && $child['is_empty'] === true) { | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user