2006-08-17 Wolfgang Sourdeau <WSourdeau@Inverse.CA>
+ * WECalendarField.m: do not use "<!--" in <style> tags, those comments
+ are not valid in CSS (v4.5.90)
+
* JSStringTable.m: properly HTML escape JavaScript inside <script>
sections (v4.5.89)
if (divCount == 0) {
[_response appendContentString:
@"<style type=\"text/css\">\n"
- @"<!--\n"
@"A.DDLlink { width: 23px; font: normal 10pt Arial; color: "
@"#6F1537; text-decoration: none; } \n"
@"A.DDLlink:hover { color: red; background: #FAE8B8; } \n"
- @"//-->\n"
@"</style>"];
[_response appendContentString:
@"<script language=\"JavaScript\">\n"
if (![_ctx valueForKey: @"WEDateFieldScriptDone"]) {
tmp = @"<style type='text/css'>\n"
- @"<!--\n"
@"TD.heading { text-decoration: none; color: black; "
@"font: bold 8pt arial, helvetica; } \n "
@"A.focusDay { color: blue; text-decoration: none; "
@"{ color: %@; text-decoration: none; font: 8pt Arial; }\n"
@"TD.topCal "
@"{ font: 10pt Arial; color: %@; background-color: %@; } \n"
- @"-->\n"
@"</style>\n";
tmp = [StrClass stringWithFormat: tmp, _hNav, _hCol, _hBack];
[_response appendContentString: tmp];