Author: schultz
Date: Wed Apr 19 17:35:17 2023
New Revision: 1909254
URL: http://svn.apache.org/viewvc?rev=1909254&view=rev
Log:
Incluce selected attirbute value ="selected" because this is XML and not HTML.
Modified:
tomcat/site/trunk/tools/migration.pl
Modified: tomcat/site/trunk/tools/migration.pl
URL:
http://svn.apache.org/viewvc/tomcat/site/trunk/tools/migration.pl?rev=1909254&r1=1909253&r2=1909254&view=diff
==============================================================================
--- tomcat/site/trunk/tools/migration.pl (original)
+++ tomcat/site/trunk/tools/migration.pl Wed Apr 19 17:35:17 2023
@@ -65,7 +65,7 @@ while(<>) {
if ( /<option value="$old_release">/ ) {
$found_old_release_unselected = 1;
- s/">/" selected>/;
+ s/">/" selected="selected">/;
print; # Dump the altered line
@@ -84,7 +84,7 @@ while(<>) {
print; # Dump the altered line
# Add the new release at the end
- print " <option value=\"$new_release\"
selected>$new_release</option>\n";
+ print " <option value=\"$new_release\"
selected=\"selected\">$new_release</option>\n";
} else {
print;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]