--- loncom/homework/cleanxml/xml_to_loncapa.pm 2016/01/06 16:44:32 1.5 +++ loncom/homework/cleanxml/xml_to_loncapa.pm 2016/01/08 20:32:42 1.6 @@ -1,7 +1,7 @@ # The LearningOnline Network # convert_file takes a well-formed XML file content and converts it to LON-CAPA syntax. # -# $Id: xml_to_loncapa.pm,v 1.5 2016/01/06 16:44:32 damieng Exp $ +# $Id: xml_to_loncapa.pm,v 1.6 2016/01/08 20:32:42 damieng Exp $ # # Copyright Michigan State University Board of Trustees # @@ -81,7 +81,7 @@ sub node_to_string { if (defined $parent->parentNode) { $grandparent_name = $parent->parentNode->nodeName; } - my @no_escape = ('m', 'script', 'display', 'parse', 'answer'); + my @no_escape = ('m', 'script', 'style', 'display', 'parse', 'answer'); if (string_in_array(\@no_escape, $parent_name) && ($parent_name ne 'answer' || (defined $grandparent_name &&