You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ja...@apache.org on 2013/09/09 11:53:23 UTC
[03/50] [abbrv] git commit: updated refs/heads/1867-feature-plugins
to 8aad450
Fauxton: fix pretty print issue by escaping json
Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/d8f12018
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/d8f12018
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/d8f12018
Branch: refs/heads/1867-feature-plugins
Commit: d8f12018ec0580d2d187fef317487c96c6093588
Parents: d0a35ce
Author: Garren Smith <ga...@gmail.com>
Authored: Mon Aug 19 16:38:06 2013 +0200
Committer: Jan Lehnardt <ja...@apache.org>
Committed: Mon Sep 9 11:16:42 2013 +0200
----------------------------------------------------------------------
src/fauxton/app/templates/documents/all_docs_item.html | 2 +-
src/fauxton/app/templates/documents/doc.html | 2 +-
src/fauxton/app/templates/documents/index_row_docular.html | 4 ++--
src/fauxton/app/templates/documents/index_row_tabular.html | 2 +-
4 files changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb/blob/d8f12018/src/fauxton/app/templates/documents/all_docs_item.html
----------------------------------------------------------------------
diff --git a/src/fauxton/app/templates/documents/all_docs_item.html b/src/fauxton/app/templates/documents/all_docs_item.html
index c4c0754..c0e61cf 100644
--- a/src/fauxton/app/templates/documents/all_docs_item.html
+++ b/src/fauxton/app/templates/documents/all_docs_item.html
@@ -15,7 +15,7 @@ the License.
<td class="select"><input type="checkbox" class="row-select"></td>
<td>
<div>
- <pre class="prettyprint"><%= doc.prettyJSON() %></pre>
+ <pre class="prettyprint"><%- doc.prettyJSON() %></pre>
<% if (doc.isEditable()) { %>
<div class="btn-group">
<a href="#<%= doc.url('app') %>" class="btn btn-small edits">Edit <%= doc.docType() %></a>
http://git-wip-us.apache.org/repos/asf/couchdb/blob/d8f12018/src/fauxton/app/templates/documents/doc.html
----------------------------------------------------------------------
diff --git a/src/fauxton/app/templates/documents/doc.html b/src/fauxton/app/templates/documents/doc.html
index 92c29ff..81c74c4 100644
--- a/src/fauxton/app/templates/documents/doc.html
+++ b/src/fauxton/app/templates/documents/doc.html
@@ -32,7 +32,7 @@ the License.
</div>
<% } %>
- <textarea class="doc-code"><%= JSON.stringify(doc.attributes, null, " ") %></textarea>
+ <textarea class="doc-code"><%- JSON.stringify(doc.attributes, null, " ") %></textarea>
<br />
<p>
<button class="save-doc button" type="button">Save</button>
http://git-wip-us.apache.org/repos/asf/couchdb/blob/d8f12018/src/fauxton/app/templates/documents/index_row_docular.html
----------------------------------------------------------------------
diff --git a/src/fauxton/app/templates/documents/index_row_docular.html b/src/fauxton/app/templates/documents/index_row_docular.html
index 26c0280..3835453 100644
--- a/src/fauxton/app/templates/documents/index_row_docular.html
+++ b/src/fauxton/app/templates/documents/index_row_docular.html
@@ -15,7 +15,7 @@ the License.
<td class="select"><input type="checkbox"></td>
<td>
<div>
- <pre class="prettyprint"><%= doc.prettyJSON() %></pre>
+ <pre class="prettyprint"><%- doc.prettyJSON() %></pre>
<% if (doc.isEditable()) { %>
<div class="btn-group">
<a href="#<%= doc.url('app') %>" class="btn btn-small edits">Edit <%= doc.docType() %></a>
@@ -23,4 +23,4 @@ the License.
</div>
<% } %>
</div>
-</td>
\ No newline at end of file
+</td>
http://git-wip-us.apache.org/repos/asf/couchdb/blob/d8f12018/src/fauxton/app/templates/documents/index_row_tabular.html
----------------------------------------------------------------------
diff --git a/src/fauxton/app/templates/documents/index_row_tabular.html b/src/fauxton/app/templates/documents/index_row_tabular.html
index f52c48c..f211f9e 100644
--- a/src/fauxton/app/templates/documents/index_row_tabular.html
+++ b/src/fauxton/app/templates/documents/index_row_tabular.html
@@ -22,4 +22,4 @@ the License.
<div>
<pre class="prettyprint"><%= JSON.stringify(doc.get("value")) %></pre>
</div>
-</td>
\ No newline at end of file
+</td>