Skip to content
This repository has been archived by the owner on Apr 15, 2020. It is now read-only.

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeyzwezdin committed Jul 2, 2016
1 parent 9916895 commit c0f15e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Pretzel.Picture/PictureBlock.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public override void Render(Context context, TextWriter result)

result.WriteLine("<img itemprop=\"image\" src=\"{0}\" title=\"{1}\" alt=\"{1}\" {2}/>", Uri.EscapeUriString(Params[0]),
HtmlTagRegex.Replace(CiteRegex.Replace(caption, String.Empty), String.Empty)
.Replace("\r", String.Empty).Replace("\n", String.Empty).Replace("\t", String.Empty),
.Replace("\r", String.Empty).Replace("\n", String.Empty).Replace("\t", String.Empty).Replace("\"", String.Empty),
classes.Any() ? $"class=\"{String.Join(" ", classes)}\"" : String.Empty);

result.Write("<figcaption>");
Expand Down

0 comments on commit c0f15e7

Please sign in to comment.