summaryrefslogtreecommitdiff
path: root/docutils/parsers/rst/directives/images.py
diff options
context:
space:
mode:
authorgoodger <goodger@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2005-05-09 15:49:37 +0000
committergoodger <goodger@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2005-05-09 15:49:37 +0000
commit55cd5272b6cec7dc3cc9eae6bd8076dd0df064ab (patch)
tree425cebe706037126de562fdf2f74c97277446f65 /docutils/parsers/rst/directives/images.py
parent301119f58a9aa133cfb1b823a2d20e6762891425 (diff)
downloaddocutils-55cd5272b6cec7dc3cc9eae6bd8076dd0df064ab.tar.gz
Added "border" option to "image" directive (& attribute to doctree element); updated docs & tests. Closes Feature Request 1193389.
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@3322 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/parsers/rst/directives/images.py')
-rw-r--r--docutils/parsers/rst/directives/images.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/docutils/parsers/rst/directives/images.py b/docutils/parsers/rst/directives/images.py
index 7efb2588d..96d01aeab 100644
--- a/docutils/parsers/rst/directives/images.py
+++ b/docutils/parsers/rst/directives/images.py
@@ -76,6 +76,7 @@ def image(name, arguments, options, content, lineno,
image.arguments = (1, 0, 1)
image.options = {'alt': directives.unchanged,
+ 'border': directives.nonnegative_int,
'height': directives.nonnegative_int,
'width': directives.nonnegative_int,
'scale': directives.nonnegative_int,