Skip to content

Commit

Permalink
Use a UTF8 zero-width-space
Browse files Browse the repository at this point in the history
  • Loading branch information
joeldrapper committed Sep 26, 2024
1 parent 1705881 commit f041aef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/flecks/shell.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# frozen_string_literal: true

class Flecks::Shell < Phlex::HTML
ZERO_WIDTH_SPACE = "&#8203"
ZERO_WIDTH_SPACE = "​" # trust me, it’s there! 😅
SAFE_BYTES_FOR_SAFARI = Phlex::SGML::SafeValue.new(ZERO_WIDTH_SPACE * 512)

def before_template
Expand Down

0 comments on commit f041aef

Please sign in to comment.