title attribute in page titles

This commit is contained in:
Alex Schroeder
2003-10-16 00:00:10 +00:00
parent 524a92a51d
commit cb2c60da1a

View File

@@ -577,7 +577,7 @@ test_page(get_page('SearchAndReplace'), @Test);
## Check headers especially the quoting of non-ASCII characters.
@Test = split('\n',<<'EOT');
<h1><a href="http://localhost/wiki.pl\?search=Alexander\+Schr\%f6der">Alexander Schr<EFBFBD>der</a></h1>
<h1><a title="Click to search for references to this page" href="http://localhost/wiki.pl\?search=Alexander\+Schr\%f6der">Alexander Schr<EFBFBD>der</a></h1>
Edit <a href="http://localhost/wiki.pl/Alexander_Schr\%f6der">Alexander Schr<EFBFBD>der</a>!
EOT
@@ -650,7 +650,7 @@ print '[lock on creation]';
@Test = split('\n',<<'EOT');
SandBox
This is a test.
<h1><a href="http://localhost/wiki.pl\?search=SandBox">SandBox</a></h1>
<h1><a title="Click to search for references to this page" href="http://localhost/wiki.pl\?search=SandBox">SandBox</a></h1>
EOT
test_page(update_page('SandBox', 'This is a test.', 'first test'), @Test);