You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by fi...@apache.org on 2012/01/28 01:40:23 UTC
[1/7] git commit: Fix references to index.html in Keyword Index.
Updated Branches:
refs/heads/master ff76e1b34 -> 3c312cbc0
Fix references to index.html in Keyword Index.
Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/commit/19eb769a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/tree/19eb769a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/diff/19eb769a
Branch: refs/heads/master
Commit: 19eb769ac92b5cd25909cc363d9ef1868106a7bd
Parents: 36be3a5
Author: Michael Brooks <mi...@michaelbrooks.ca>
Authored: Thu Jan 26 21:42:11 2012 -0800
Committer: Fil Maj <fi...@nitobi.com>
Committed: Fri Jan 27 16:38:38 2012 -0800
----------------------------------------------------------------------
lib/phonegap/update_keyword_index.rb | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/19eb769a/lib/phonegap/update_keyword_index.rb
----------------------------------------------------------------------
diff --git a/lib/phonegap/update_keyword_index.rb b/lib/phonegap/update_keyword_index.rb
index c981a1c..3e3643a 100644
--- a/lib/phonegap/update_keyword_index.rb
+++ b/lib/phonegap/update_keyword_index.rb
@@ -28,8 +28,7 @@ class UpdateKeywordIndex
# Update referenced to index.md.html
# Then save
- File.open(filename, 'w') { |file| file.write doc.to_html.gsub('/index.md.html', '/index.html') }
-
+ File.open(filename, 'w') { |file| file.write doc.to_html.gsub('"index.md.html', '"index.html') }
return true
end
end
\ No newline at end of file