CVS difference for arm/progs/arm_html.adb

Differences between 1.26 and version 1.27
Log of other versions for file arm/progs/arm_html.adb

--- arm/progs/arm_html.adb	2006/02/11 07:59:44	1.26
+++ arm/progs/arm_html.adb	2006/02/16 06:48:04	1.27
@@ -4875,6 +4875,9 @@
 	    Output_Text (Output_Object, "<IMG src=""" & Name & """");
 	    Output_Text (Output_Object, " height=""" & H(2..H'Last) &
 		""" width=""" & W(2..W'Last) & """");
+	    if Extra_Attribs /= "" then
+	        Output_Text (Output_Object, Extra_Attribs);
+	    end if;
 	    Output_Text (Output_Object, " alt=""" & Descr & """");
 	    case Border is
 		when ARM_Output.None =>
@@ -4905,7 +4908,7 @@
 		end if;
 		Make_Img (" align=""left""");
 	    when ARM_Output.Float_Right =>
-		if Output_Object.Is_In_Paragraph then
+		if not Output_Object.Is_In_Paragraph then
 		    Ada.Exceptions.Raise_Exception (ARM_Output.Not_Valid_Error'Identity,
 			"Not in paragraph");
 		end if;

Questions? Ask the ACAA Technical Agent