From 26f4296dd3defe25e14581e86b612d0f39d5c839 Mon Sep 17 00:00:00 2001 From: Jeremy Soller <jackpot51@gmail.com> Date: Thu, 11 May 2017 20:18:04 -0600 Subject: [PATCH] Fix handling of tabs --- src/browser/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/browser/main.rs b/src/browser/main.rs index cbd62df..89ad345 100644 --- a/src/browser/main.rs +++ b/src/browser/main.rs @@ -138,7 +138,7 @@ fn walk<'a>(handle: Handle, indent: usize, x: &mut i32, y: &mut i32, mut size: f for c in text.chars() { match c { - ' ' | '\n' | '\r' => if *whitespace { + ' ' | '\t' | '\n' | '\r' => if *whitespace { // Ignore } else { // Set whitespace -- GitLab