Permalink
Browse files

Hide code types from the html given to the rss feed.

  • Loading branch information...
1 parent 10a8959 commit 264f4712ad415c0df56f8c5a94ffcc9e676dd58f @creationix committed Feb 7, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 build.js
View
@@ -251,7 +251,7 @@ function render(data, next) {
}));
// Make the RSS Feed...
- write_file(PUBLIC_DIR + "/feed.xml", haml("feed", data));
+ write_file(PUBLIC_DIR + "/feed.xml", haml("feed", data).replace(/(<code>)\#\![a-z]+\n/g, "$1"));
// Write the static files as is...
loop(data.static, function (filename, content) {

0 comments on commit 264f471

Please sign in to comment.