--- loncom/homework/edit.pm 2001/06/29 18:53:50 1.16 +++ loncom/homework/edit.pm 2001/07/13 16:15:01 1.18 @@ -183,6 +183,15 @@ sub insert_numericalresponse { '; } +sub insert_stringresponse { + return ' + + + + +'; +} + sub insert_optionresponse { return ' @@ -262,6 +271,8 @@ sub rebuild_tag { if ($token->[0] eq 'S') { $result = '<'.$token->[1]; while (my ($key,$val)= each(%{$token->[2]})) { + $val=~s:^\s|\s$::g; + $val=~s:"::g; #" &Apache::lonxml::debug("setting :$key: to :$val:"); $result.=' '.$key.'="'.$val.'"'; } 500 Internal Server Error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at root@localhost to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.