Browse files

Corregido error en las imagenes con Width

  • Loading branch information...
1 parent a4779d8 commit ad51b8d9f7f03f7f1539d6f0b08ddf55038451f7 @SirMartin committed Mar 28, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 RiverSalaMVC/Utils/Utils.cs
View
8 RiverSalaMVC/Utils/Utils.cs
@@ -97,13 +97,13 @@ public static String TranslateBBCodeToHtml(String contenido, HttpContextBase htt
contenido = contenido.Replace(":banana2:", "<img src='" + UrlHelper.GenerateContentUrl("/Content/images/emoticons/platano2.gif", httpContext) + "'/>");
contenido = contenido.Replace(":bailon:", "<img src='" + UrlHelper.GenerateContentUrl("/Content/images/emoticons/sparta1.gif", httpContext) + "'/>");
- contenido = contenido.Replace(":gato:", "<img src='" + UrlHelper.GenerateContentUrl("/Content/images/emoticons/sparta2.gif", httpContext) + " width='30%' />");
+ contenido = contenido.Replace(":gato:", "<img src='" + UrlHelper.GenerateContentUrl("/Content/images/emoticons/sparta2.gif", httpContext) + "' width='30%' />");
contenido = contenido.Replace(":ostia:", "<img src='" + UrlHelper.GenerateContentUrl("/Content/images/emoticons/sparta3.gif", httpContext) + "'/>");
- contenido = contenido.Replace(":panda:", "<img src='" + UrlHelper.GenerateContentUrl("/Content/images/emoticons/sparta4.gif", httpContext) + " width='50%'/>");
- contenido = contenido.Replace(":stewie:", "<img src='" + UrlHelper.GenerateContentUrl("/Content/images/emoticons/stewie.gif", httpContext) + " width='25%'/>");
+ contenido = contenido.Replace(":panda:", "<img src='" + UrlHelper.GenerateContentUrl("/Content/images/emoticons/sparta4.gif", httpContext) + "' width='50%'/>");
+ contenido = contenido.Replace(":stewie:", "<img src='" + UrlHelper.GenerateContentUrl("/Content/images/emoticons/stewie.gif", httpContext) + "' width='25%'/>");
- contenido = contenido.Replace(":river:", "<img src='" + UrlHelper.GenerateContentUrl("/Content/images/emoticons/river.gif", httpContext) + " width='52'/>");
+ contenido = contenido.Replace(":river:", "<img src='" + UrlHelper.GenerateContentUrl("/Content/images/emoticons/river.gif", httpContext) + "' width='52'/>");
contenido = contenido.Replace(":kitt:", "<img src='" + UrlHelper.GenerateContentUrl("/Content/images/emoticons/kitt.gif", httpContext) + "'/>");
//Devolvemos el contenido cambiado.

0 comments on commit ad51b8d

Please sign in to comment.