-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
QTextMarkdownWriter: Don't word-wrap headings
If it wraps, the text on the next line is no longer part of the heading. Fixes: QTBUG-106526 Change-Id: I8015c948d875c6944422ef3439e3128af5b2a2e2 Pick-to: 6.5 Reviewed-by: Axel Spoerl <axel.spoerl@qt.io> (cherry picked from commit 65c4029) Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io> (cherry picked from commit a7367e6)
- Loading branch information
Showing
3 changed files
with
14 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# The quick brown fox jumped over the lazy dog while the cat played the fiddle and the cow jumped over the moon | ||
|
||
Hey diddle diddle | ||
|
||
## This document has a verbose subheading too, which we do not expect to wrap in the output | ||
|
||
Qt can write it right. Long text here in this paragraph will actually wrap, | ||
even though its heading doesn't. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters