diff options
| author | fisharebest <fisharebest@gmail.com> | 2011-09-22 12:09:54 +0000 |
|---|---|---|
| committer | fisharebest <fisharebest@gmail.com> | 2011-09-22 12:09:54 +0000 |
| commit | 6a6350203ddfdf78520e4987fb6ab6219d2f3850 (patch) | |
| tree | a1e37110bcfda801ff0fdb98a2688a8c03aa49f5 /repo.php | |
| parent | 908a88606c4182a364743b096ed435f1394130d4 (diff) | |
| download | webtrees-6a6350203ddfdf78520e4987fb6ab6219d2f3850.tar.gz webtrees-6a6350203ddfdf78520e4987fb6ab6219d2f3850.tar.bz2 webtrees-6a6350203ddfdf78520e4987fb6ab6219d2f3850.zip | |
Add HTML escapes and directional markup when we CREATE the names of objects, rather than when we DISPLAY them. It is easier to do it in one place, not everywhere.
getFullName() already calls canDisplayName(), so no need to call it a second time.
Diffstat (limited to 'repo.php')
| -rw-r--r-- | repo.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -100,7 +100,7 @@ echo 'function showchanges() { window.location="', $controller->repository->getR echo WT_JS_END; echo '<div id="repo-details">'; -echo '<h2>', PrintReady(htmlspecialchars($controller->repository->getFullName())), '</h2>'; +echo '<h2>', $controller->repository->getFullName(), '</h2>'; echo '<div id="repo-tabs"> <ul> <li><a href="#repo-edit"><span>', WT_I18N::translate('Details'), '</span></a></li>'; |
