Skip to content
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

Breaks should not be generated in long descriptions of commands. #144

Closed
gitlost opened this issue Sep 7, 2017 · 2 comments
Closed

Breaks should not be generated in long descriptions of commands. #144

gitlost opened this issue Sep 7, 2017 · 2 comments

Comments

@gitlost
Copy link
Contributor

gitlost commented Sep 7, 2017

Related wp-cli/wp-cli#4302

For instance (see wp-cli/wp-cli#4302 (comment)) the shell command description (https://developer.wordpress.org/cli/commands/shell/) renders as

<code>wp shell</code> allows you to evaluate PHP statements and expressions
<br>
interactively, from within a WordPress environment. Type a bit of code,
<br>
...

when it should just render without the <br>s and let the browser wrap it.

@schlessera
Copy link
Member

This might be as simple as transforming single line breaks into a space and double line breaks into a break instead. Would need to be tested against our docs, though.

@danielbachhuber
Copy link
Member

This was fixed with #153

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants