-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The VM description doesn't display the '\n' #1890
Comments
I can't reproduce this, and I am not sure I have followed your steps correctly. If put this into the dialog: I get this in the details page of the machine: The two lines Sequences like |
Just like that, for \n, I mean typing enter @mvollmer |
Ahh, you mean an empty line! :-) Yes, I can reproduce that. Empty lines are indeed omitted when displaying a description. Thanks for finding this! |
Render the description as a single paragraph, with preserved line breaks and word breaking on overflow. Fixes cockpit-project#1888, cockpit-project#1890.
Render the description as a single paragraph, with preserved line breaks and word breaking on overflow. Fixes cockpit-project#1888, cockpit-project#1890.
Description of problem:
When setting a description for a VM, if setting a '\n' in the description, like '
1
2
'. The \n is not shown on the page. But, if checking by 'virsh dumpxml ${vm}', the '\n' could be shown correctly in the element
Version-Release number of selected components (if applicable):
cockpit-machines-322-11-g63ac3f46
The text was updated successfully, but these errors were encountered: