fix up whitespace causing weirdness in inline response comment rendering

This commit is contained in:
Arjun Singh
2012-09-15 02:12:52 -07:00
parent 7c86f324ea
commit 4efe1135cb

View File

@@ -36,9 +36,7 @@
</p>
</header>
<div class="post-body">
${'<%- body %>'}
</div>
<div class="post-body">${'<%- body %>'}</div>
${'<% if (obj.courseware_url) { %>'}
<div class="post-context">
(this post is about <a href="${'<%- courseware_url%>'}">${'<%- courseware_title %>'}</a>)
@@ -120,9 +118,7 @@
<script type="text/template" id="response-comment-show-template">
<div id="comment_${'<%- id %>'}">
<div class="response-body">
${'<%- body %>'}
</div>
<div class="response-body"> ${'<%- body %>'} </div>
<p class="posted-details">&ndash;posted <span class="timeago" title="${'<%- created_at %>'}">${'<%- created_at %>'}</span> by
${"<% if (obj.username) { %>"}
<a href="${'<%- user_url %>'}" class="profile-link">${'<%- username %>'}</a>