Skip to content

Newline characters replaced by line breaks (rebased) #97

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

Merged
merged 1 commit into from
Mar 7, 2019

Conversation

jcfr
Copy link
Member

@jcfr jcfr commented Mar 21, 2018

QStrings are used for Help and Acknowledgement frame on Slicer module
panel. Newline characters are not respected by QString. They need to be
line breaks.
Fixes issue #9 on the SlicerExecutionModel issue tracker.
Fixes issue 2781 on Slicer bug tracker.

QStrings are used for Help and Acknowledgement frame on Slicer module
panel. Newline characters are not respected by QString. They need to be
line breaks.
Fixes issue #9 on the SlicerExecutionModel issue tracker.
Fixes issue 2781 on Slicer bug tracker.
@jcfr jcfr force-pushed the 9-respect-multi-line-strings branch from 882b86d to e5e41f5 Compare March 21, 2018 23:09
@jcfr jcfr changed the title Newline characters replaced by line breaks Newline characters replaced by line breaks (rebased) Mar 21, 2018
Copy link
Contributor

@lassoan lassoan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Several CLIs use html formatting and those help texts looks great in Slicer. There is no issue with newlines as <br> works reliably.

I think we should make html the official help format and have a plain text converter for cases when the help needs to be printed on a text-based terminal.

@hjmjohnson hjmjohnson merged commit 70dfd97 into master Mar 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants