Skip to content

Commit

Permalink
fix #3325
Browse files Browse the repository at this point in the history
  • Loading branch information
sunderme committed Oct 20, 2023
1 parent 6640f0f commit 26b4ae1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/latexparser/latex2text.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ LineInfo::LineInfo(QDocumentLineHandle* line): line(line){
if(tk.type==Token::word && (tk.subtype==Token::none||tk.subtype==Token::text))
continue;
if(tk.type==Token::punctuation && (tk.subtype==Token::none||tk.subtype==Token::text))
continue;
continue;
if(tk.type==Token::number && (tk.subtype==Token::none||tk.subtype==Token::text))
continue; // don't blank numbers, let LT see dates correctly
if(tk.type==Token::symbol && (tk.subtype==Token::none||tk.subtype==Token::text))
continue; // don't blank symbol like '~'
if(tk.type==Token::braces && tk.subtype==Token::text){
Expand Down

0 comments on commit 26b4ae1

Please sign in to comment.