]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/AnnotationBundle/Form/NewAnnotationType.php
API return an error with empty quote
[github/wallabag/wallabag.git] / src / Wallabag / AnnotationBundle / Form / NewAnnotationType.php
index c73c3ded9041f4eaa5964fa570b57e17f8c9890c..aac6445c82e9aa066205ac4bec7bf1eb43f7a312 100644 (file)
@@ -18,6 +18,7 @@ class NewAnnotationType extends AbstractType
             ])
             ->add('quote', null, [
                 'empty_data' => null,
+                'trim' => false,
             ])
             ->add('ranges', CollectionType::class, [
                 'entry_type' => RangeType::class,