Permalink
Browse files

Improve

svn path=/trunk/lb/; revision=70865
  • Loading branch information...
1 parent 590eca4 commit c1aafa49bc14ac6b4c4110a5847f7d983f56e7fd @migueldeicaza migueldeicaza committed Jan 11, 2007
Showing with 2 additions and 1 deletion.
  1. +1 −1 comments
  2. +1 −0 lb.cs
View
@@ -1 +1 @@
-<p align="right">[<a href="http://groups-beta.google.com/group/tiraniaorg-blog-comments/post?subject=@ENTRY_CAPTION@ on @ENTRY_DATECAPTION@">Post Comment</a>] | [<a href="http://groups-beta.google.com/group/tiraniaorg-blog-comments/search?group=tiraniaorg-blog-comments&q=@ENTRY_CAPTION@ on @ENTRY_DATECAPTION@&qt_g=Search+this+group">Comments</a>]</p>
+<p align="right">[<a href="http://groups-beta.google.com/group/tiraniaorg-blog-comments/post?subject=@ENTRY_CAPTION_ENC@ on @ENTRY_DATECAPTION@">Post Comment</a>] | [<a href="http://groups-beta.google.com/group/tiraniaorg-blog-comments/search?group=tiraniaorg-blog-comments&q=@ENTRY_CAPTION_ENC@ on @ENTRY_DATECAPTION@&qt_g=Search+this+group">Comments</a>]</p>
View
1 lb.cs
@@ -400,6 +400,7 @@ void Render (TextWriter o, IList entries, int idx, string blog_base, bool includ
substitutions.Add ("@ENTRY_NAVIGATION@", navigation);
substitutions.Add ("@ENTRY_PERMALINK@", d.PermaLink);
substitutions.Add ("@ENTRY_CAPTION@", d.Caption);
+ substitutions.Add ("@ENTRY_CAPTION_ENC@", HttpUtility.UrlEncode (d.Caption));
substitutions.Add ("@BASEDIR@", config.BlogWebDirectory);
substitutions.Add ("@BASEIMAGES@", config.BlogImageBasedir);
substitutions.Add ("@COPYRIGHT@", config.Copyright);

0 comments on commit c1aafa4

Please sign in to comment.