diff --git a/lib/cooked_post_processor.rb b/lib/cooked_post_processor.rb index bb87f8fcaf5..094fef76edf 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 6879e64b3e9..55fae32e2d9 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