diff options
author | Jan Lehnardt <jan@apache.org> | 2010-11-19 13:26:30 +0000 |
---|---|---|
committer | Jan Lehnardt <jan@apache.org> | 2010-11-19 13:26:30 +0000 |
commit | 0e1b64d8288c97ef66f334eb272865b9347c3594 (patch) | |
tree | 72c887316d4bb03eca4f3d24c582d527c187d1c3 /share/www | |
parent | 786dd5b875d42c7511572d0a56a3c8b914816b9a (diff) |
Undo overzealous escaping.
Patch by Gabriel Farrell.
Closes COUCHDB-948.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.0.x@1036833 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share/www')
-rw-r--r-- | share/www/database.html | 2 | ||||
-rw-r--r-- | share/www/document.html | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/share/www/database.html b/share/www/database.html index f1d8dbd6..2802ad78 100644 --- a/share/www/database.html +++ b/share/www/database.html @@ -37,7 +37,7 @@ specific language governing permissions and limitations under the License. $(function() { if (page.redirecting) return; - $("h1 strong").html('<a href="?' + page.db.name + '">' + page.db.name + '</a>'); + $("h1 strong").text(page.db.name); var viewPath = page.viewName || "_all_docs"; if (viewPath != "_temp_view" && viewPath != "_design_docs") { $("h1 a.raw").attr("href", "/" + encodeURIComponent(page.db.name) + diff --git a/share/www/document.html b/share/www/document.html index ed4fd4ee..b6f42018 100644 --- a/share/www/document.html +++ b/share/www/document.html @@ -42,9 +42,9 @@ specific language governing permissions and limitations under the License. }); $(function() { - $("h1 a.dbname").text(encodeURIComponent(page.dbName)) + $("h1 a.dbname").text(page.dbName) .attr("href", "database.html?" + encodeURIComponent(page.db.name)); - $("h1 strong").text(encodeURIComponent(page.docId).replace(/%2[Ff]/, "/")); + $("h1 strong").text(page.docId); $("h1 a.raw").attr("href", "/" + encodeURIComponent(page.db.name) + "/" + encodeURIComponent(page.docId)); page.updateFieldListing(); |