diff --git a/better_figures_and_images/better_figures_and_images.py b/better_figures_and_images/better_figures_and_images.py index 4d5d1c5..0b3df23 100644 --- a/better_figures_and_images/better_figures_and_images.py +++ b/better_figures_and_images/better_figures_and_images.py @@ -11,7 +11,6 @@ TODO: Need to add a test.py for this plugin. """ -import types import os from pelican import signals @@ -22,23 +21,31 @@ from PIL import Image def content_object_init(instance): - def _get_content(self): - content = self._content - return content - - instance._get_content = types.MethodType(_get_content, instance) - if instance._content is not None: content = instance._content soup = BeautifulSoup(content) + # if '