From dbf6fb02328b74aa5208fe9e7952fc737e6ab977 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Hanol?= Date: Mon, 22 Jul 2013 22:41:08 +0200 Subject: [PATCH] change the pipe into a bullet in the lightbox overlay --- lib/cooked_post_processor.rb | 2 +- spec/components/cooked_post_processor_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/cooked_post_processor.rb b/lib/cooked_post_processor.rb index 479219430..bb87f8fca 100644 --- a/lib/cooked_post_processor.rb +++ b/lib/cooked_post_processor.rb @@ -164,7 +164,7 @@ class CookedPostProcessor filename = get_filename(upload, img['src']) informations = "#{original_width}x#{original_height}" - informations << " | #{number_to_human_size(upload.filesize)}" if upload + informations << " • #{number_to_human_size(upload.filesize)}" if upload meta.add_child create_span_node("filename", filename) meta.add_child create_span_node("informations", informations) diff --git a/spec/components/cooked_post_processor_spec.rb b/spec/components/cooked_post_processor_spec.rb index 007c915ad..6879e64b3 100644 --- a/spec/components/cooked_post_processor_spec.rb +++ b/spec/components/cooked_post_processor_spec.rb @@ -138,7 +138,7 @@ describe CookedPostProcessor do it "generates overlay information" do cpp.post_process_images cpp.html.should match_html '
-uploaded.jpg1000x2000 | 1.21 KB +uploaded.jpg1000x2000 • 1.21 KB
' cpp.should be_dirty end