Skip to content
Snippets Groups Projects
Commit 213db8c9 authored by Daniel Brötzmann's avatar Daniel Brötzmann Committed by Philipp Hörist
Browse files

PlainWidget: Strip text

parent 0169903d
No related branches found
No related tags found
No related merge requests found
......@@ -125,7 +125,7 @@ def get_text(self):
def print_text_with_styling(self, block):
buffer_ = self.get_buffer()
buffer_.insert(buffer_.get_start_iter(), block.text)
buffer_.insert(buffer_.get_start_iter(), block.text.strip())
for span in block.spans:
start_iter = buffer_.get_iter_at_offset(span.start)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment