Describe the bug
" Bricks is awesome" -> "{" "} Bricks is awesome"
To Reproduce
Try generating code using text with trailing or prefixing white spaces
Expected behavior
" Bricks is awesome " -> " Bricks is awesome "
Screenshots

Software Versions (please fill if applicable):
Code output in VScode plugin
Additional context
Add any other context about the problem here.