From d9b416d3039c25576ea4779493149fca6bc67c21 Mon Sep 17 00:00:00 2001 From: Alexey Zapparov Date: Tue, 20 May 2025 04:59:44 +0200 Subject: [PATCH] chore: Use obvious unicode point Simply makes reading a bit easier even when editor/viewer software does not show non-printable characters. --- lib/flecks/shell.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/flecks/shell.rb b/lib/flecks/shell.rb index d3a8be1..f1bc364 100644 --- a/lib/flecks/shell.rb +++ b/lib/flecks/shell.rb @@ -1,7 +1,7 @@ # frozen_string_literal: true class Flecks::Shell < Phlex::HTML - ZERO_WIDTH_SPACE = "​" # trust me, it’s there! πŸ˜… + ZERO_WIDTH_SPACE = "\u{200b}" SAFE_BYTES_FOR_SAFARI = Phlex::SGML::SafeValue.new(ZERO_WIDTH_SPACE * 512) def initialize(nonce: nil)