trim text on both ends
This commit is contained in:
parent
6951e7774c
commit
907c4b34b0
|
@ -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> "]]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue