1
Fork 0

trim text on both ends

This commit is contained in:
Jan-Erik Rediger 2024-11-03 11:47:53 +01:00
parent 6951e7774c
commit 907c4b34b0

View file

@ -24,7 +24,7 @@ proc dedent {text} {
} }
proc markdown_quote {text} { proc markdown_quote {text} {
set text [string trimright $text] set text [string trim $text]
return [string cat "> " [regsub -all \n $text "\n> "]] return [string cat "> " [regsub -all \n $text "\n> "]]
} }