--- loncom/xml/londefdef.pm 2013/09/30 13:44:16 1.448 +++ loncom/xml/londefdef.pm 2013/10/12 01:26:31 1.449 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Tags Default Definition Module # -# $Id: londefdef.pm,v 1.448 2013/09/30 13:44:16 raeburn Exp $ +# $Id: londefdef.pm,v 1.449 2013/10/12 01:26:31 raeburn Exp $ # # # Copyright Michigan State University Board of Trustees @@ -3615,7 +3615,11 @@ sub start_iframe { } } $currentstring =~ s/\s+$//; - $currentstring .= '>'; + if ($token->[4] =~ m{/>$}) { + $currentstring .= ' />'; + } else { + $currentstring .= '>'; + } } else { $currentstring = $token->[4]; }