You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Text nodes seem to be ignored currently, which results in badly formatted paragraphs to stay that way. It would be nice if long paragraphs would break lines according to the print width setting.
Motivation
Currently the following input
<p>
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
</p>
results in this output
<p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.</p>
which is even worse, because the closing tag is lost at the end of the line.
Since line breaks followed by arbitrary whitespace results simply in a space in rendered HTML, the same example could be formatted much more readable:
<p>
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet
clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit
amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam
nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed
diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.
Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
sit amet.
</p>
Example
Please provide an example for how this feature would be used.
Vote
If you agree with my proposal vote with a 馃憤
The text was updated successfully, but these errors were encountered:
The indentation rule based primary on node-level + tag length (incl attributes), not content. You can still format your text manually and it will be preserved.
馃殌 Feature Proposal
Text nodes seem to be ignored currently, which results in badly formatted paragraphs to stay that way. It would be nice if long paragraphs would break lines according to the print width setting.
Motivation
Currently the following input
results in this output
which is even worse, because the closing tag is lost at the end of the line.
Since line breaks followed by arbitrary whitespace results simply in a space in rendered HTML, the same example could be formatted much more readable:
Example
Please provide an example for how this feature would be used.
Vote
If you agree with my proposal vote with a 馃憤
The text was updated successfully, but these errors were encountered: