[LON-CAPA-cvs] cvs: loncom /homework edit.pm
www
lon-capa-cvs@mail.lon-capa.org
Thu, 15 Jan 2004 03:24:53 -0000
www Wed Jan 14 22:24:53 2004 EDT
Modified files:
/loncom/homework edit.pm
Log:
Remove extra whitespace from inserted textblocks and scripts.
Index: loncom/homework/edit.pm
diff -u loncom/homework/edit.pm:1.77 loncom/homework/edit.pm:1.78
--- loncom/homework/edit.pm:1.77 Wed Jan 14 17:59:18 2004
+++ loncom/homework/edit.pm Wed Jan 14 22:24:52 2004
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# edit mode helpers
#
-# $Id: edit.pm,v 1.77 2004/01/14 22:59:18 albertel Exp $
+# $Id: edit.pm,v 1.78 2004/01/15 03:24:52 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -289,8 +289,7 @@
<formularesponse answer="" samples="">
<textline />
<hintgroup>
- <startouttext/>
- <endouttext />
+ <startouttext /><endouttext />
</hintgroup>
</formularesponse>';
}
@@ -300,8 +299,7 @@
<numericalresponse answer="">
<textline />
<hintgroup>
- <startouttext/>
- <endouttext />
+ <startouttext /><endouttext />
</hintgroup>
</numericalresponse>';
}
@@ -311,8 +309,7 @@
<stringresponse answer="" type="">
<textline />
<hintgroup>
- <startouttext/>
- <endouttext />
+ <startouttext /><endouttext />
</hintgroup>
</stringresponse>';
}
@@ -330,8 +327,7 @@
<foilgroup>
</foilgroup>
<hintgroup>
- <startouttext/>
- <endouttext />
+ <startouttext /><endouttext />
</hintgroup>
</imageresponse>';
}
@@ -342,8 +338,7 @@
<foilgroup options="">
</foilgroup>
<hintgroup>
- <startouttext/>
- <endouttext />
+ <startouttext /><endouttext />
</hintgroup>
</optionresponse>';
}
@@ -353,8 +348,7 @@
<organicresponse>
<textline />
<hintgroup>
- <startouttext/>
- <endouttext />
+ <startouttext /><endouttext />
</hintgroup>
</organicresponse>';
}
@@ -371,8 +365,7 @@
<foilgroup>
</foilgroup>
<hintgroup>
- <startouttext/>
- <endouttext />
+ <startouttext /><endouttext />
</hintgroup>
</radiobuttonresponse>';
}
@@ -382,8 +375,7 @@
<reactionresponse>
<textline />
<hintgroup>
- <startouttext/>
- <endouttext />
+ <startouttext /><endouttext />
</hintgroup>
</reactionresponse>';
}
@@ -394,8 +386,7 @@
<foilgroup options="">
</foilgroup>
<hintgroup>
- <startouttext/>
- <endouttext />
+ <startouttext /><endouttext />
</hintgroup>
</rankresponse>';
}
@@ -408,8 +399,7 @@
</itemgroup>
</foilgroup>
<hintgroup>
- <startouttext/>
- <endouttext />
+ <startouttext /><endouttext />
</hintgroup>
</matchresponse>';
}
@@ -427,8 +417,7 @@
sub insert_hintgroup {
return '
<hintgroup>
- <startouttext/>
- <endouttext />
+ <startouttext /><endouttext />
</hintgroup>';
}
@@ -463,11 +452,11 @@
}
sub insert_startouttext {
- return "<startouttext />\n<endouttext />";
+ return "<startouttext /><endouttext />";
}
sub insert_script {
- return "\n<script type=\"loncapa/perl\">\n</script>";
+ return "\n<script type=\"loncapa/perl\"></script>";
}
sub textarea_sizes {