mirror of
https://github.com/flutter/packages.git
synced 2025-07-01 23:51:55 +08:00
fix: The blockquote content new-line letter should not be replaced. (#250)
This commit is contained in:
@ -233,7 +233,9 @@ class MarkdownBuilder implements md.NodeVisitor {
|
||||
style: _isInBlockquote
|
||||
? _inlines.last.style.merge(styleSheet.blockquote)
|
||||
: _inlines.last.style,
|
||||
text: text.text.replaceAll(RegExp(r" ?\n"), " "),
|
||||
text: _isInBlockquote
|
||||
? text.text
|
||||
: text.text.replaceAll(RegExp(r" ?\n"), " "),
|
||||
recognizer: _linkHandlers.isNotEmpty ? _linkHandlers.last : null,
|
||||
),
|
||||
textAlign: _textAlignForBlockTag(_currentBlockTag),
|
||||
|
Reference in New Issue
Block a user