Don't include newlines in format by default.

This commit is contained in:
John Preston 2023-10-31 12:47:22 +04:00
parent 148be79196
commit 835ba51f5e

View file

@ -2040,7 +2040,8 @@ QString InputField::getTextPart(
block = block.next();
if (block != till) {
tagAccumulator.feed(
TagWithoutCustomEmoji(tagAccumulator.currentTag()),
TagWithoutCustomEmoji(
block.charFormat().property(kTagProperty).toString()),
result.size());
result.append('\n');
markdownTagAccumulator.feed(newline, 1, lastTag);