about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-10-12 14:39:54 +0200
committerEugen Rochko <eugen@zeonfederated.com>2016-10-12 14:39:54 +0200
commit2ddf4e09f92471737f84d5d7d20d47c663948886 (patch)
treea7e4fc42ced51fc645f5f0f2b3eb364e30179ecf
parentcdc49c6b4b3b75844d66d645e09de4be294881da (diff)
Change how convert options are escaped
-rw-r--r--app/models/media_attachment.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/media_attachment.rb b/app/models/media_attachment.rb
index 93c915b01..567813d53 100644
--- a/app/models/media_attachment.rb
+++ b/app/models/media_attachment.rb
@@ -51,7 +51,7 @@ private
         small: {
           convert_options: {
             output: {
-              vf: 'scale="min(510\, iw):min(680\, ih)":force_original_aspect_ratio=decrease'
+              vf: 'scale=\'min(510\, iw):min(680\, ih)\':force_original_aspect_ratio=decrease'
             }
           },
           format: 'png',