소스 검색

Merge pull request #540 from phrawzty/patch-1

Add exception for inline encoded images.
Alexis Metaireau 9 년 전
부모
커밋
473f95a67c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      better_figures_and_images/better_figures_and_images.py

+ 1 - 1
better_figures_and_images/better_figures_and_images.py

@@ -47,7 +47,7 @@ def content_object_init(instance):
                     img_path = img_path[7:]
                 elif img_path.startswith('data:image'):
                     # Image is encoded in-line (not a file).
-                    break
+                    continue
                 else:
                     logger.warning('Better Fig. Error: img_path should start with either {filename}, |filename| or /static')