glamour icon indicating copy to clipboard operation
glamour copied to clipboard

Quotes don't render correctly when using --width

Open ceuk opened this issue 5 years ago • 1 comments

To recreate:

echo "> this is a long quote that will be wrapped when I set the width to 20 causing it to break to a new line without prepending the quote indicator" > /tmp/glow-test && glow /tmp/glow-test --width=20

Output:

  │ this is a long 
  │ quote that    
  will            
  │ be wrapped    
  when            
  │ I set the     
  width           
  │ to 20 causing  
  │ it to break to 
  │ a new line     
  │ without        
  │ prepending the 
  │ quote         
  indicator  

Expected:

  │ this is a long
  │ quote that will
  │ be wrapped when I
  │ set the width to
  │ 20 causing it to
  │ break to a new
  │ line without
  │ prepending the
  │ quote indicator

ceuk avatar Dec 10 '20 14:12 ceuk

Internally probaby the same issue as #56

noerw avatar Dec 16 '20 00:12 noerw

Closing as dupe of #172 (even though yours came first). Thanks for reporting the issue!

muesli avatar Oct 12 '22 02:10 muesli