Description: Handle <graphic> like <imagedata> for the width setting
Author: Raphaël Hertzog <hertzog@debian.org>
Bug: https://bugzilla.redhat.com/show_bug.cgi?id=754340

--- a/lib/Publican/XmlClean.pm
+++ b/lib/Publican/XmlClean.pm
@@ -827,7 +827,7 @@ sub my_as_XML {
                         $depth++;
                     }
 
-                    if ( $tag eq 'imagedata' ) {
+                    if ( $tag eq 'imagedata' || $tag eq 'graphic' ) {
                         my $img_file = "$path" . $node->attr('fileref');
                         $img_file
                             = $self->{publican}->param('xml_lang') . "/"
