Permalink
Browse files

Merge pull request #250 from hizel/og-description

fix проверки og:description на пустоту
  • Loading branch information...
2 parents be571ff + 1298c7a commit 4fafa0dac25f9d736b7370619b46ea23a7ac3d52 @maxcom committed Apr 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/webapp/WEB-INF/jsp/view-message.jsp
@@ -50,7 +50,7 @@
<c:if test="${preparedMessage.section.imagepost}">
<meta property="og:image" content="${preparedMessage.image.mediumName}">
</c:if>
-<c:if test="${preparedMessage.ogDescription}">
+<c:if test="${not empty preparedMessage.ogDescription}">
<meta property="og:description" content="${preparedMessage.ogDescription}">
</c:if>
<c:if test="${prevMessage != null}">

0 comments on commit 4fafa0d

Please sign in to comment.