From 970127b5cb9debcab21e9883ae50b5b5e25e2b42 Mon Sep 17 00:00:00 2001 From: Duncan Lock Date: Wed, 29 May 2013 18:34:29 -0700 Subject: [PATCH] Comments improved --- better_figures_and_images/better_figures_and_images.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/better_figures_and_images/better_figures_and_images.py b/better_figures_and_images/better_figures_and_images.py index fa4498a..51f3376 100644 --- a/better_figures_and_images/better_figures_and_images.py +++ b/better_figures_and_images/better_figures_and_images.py @@ -6,7 +6,7 @@ This plugin: - Adds a style="width: ???px; height: auto;" to each image in the content - Also adds the width of the contained image to any parent div.figures. - - If RESPONSIVE_IMAGES == True, adds style="width: ???px; max-width: 100%; height: auto;" instead + - If RESPONSIVE_IMAGES == True, also adds style="max-width: 100%;" - Corrects alt text: if alt == image filename, set alt = '' TODO: Need to add a test.py for this plugin.