-
Notifications
You must be signed in to change notification settings - Fork 15
Description
Current Behavior:
When a multi-line company address is entered into the company settings (e.g., using a carriage return/Enter key for proper postal formatting), the system saves the address but strips all newline characters (\n or \r\n) when rendering the final PDF or print invoice. This results in the entire address block being concatenated into a single, continuous line of text.
Expected Behavior:
The system should respect and preserve the manual line breaks (\n) entered by the user.
The final invoice should display the address exactly as entered, typically formatted over 3 to 5 distinct lines, to ensure proper postal formatting and legibility.
Steps To Reproduce:
Navigate to Settings
Example Company Name Ltd.
123 Technology Drive
Suite 500
Cityname, ZipCode, Country
Save the settings.
Create a New Invoice (or regenerate an old one). View or download the final invoice document (e.g., PDF).
Actual Result (Example):
The company address on the generated invoice appears as one continuous string:
Example Company Name Ltd. 123 Technology Drive Suite 500 Cityname, ZipCode, Country
Metadata
Metadata
Assignees
Labels
Projects
Status