Fixed carriage returns in profile description

This commit is contained in:
Fergal Moran
2014-01-09 20:11:40 +00:00
parent 4aa90cbd68
commit 4cd6471356

View File

@@ -145,7 +145,7 @@
<div class="profile-info-row">
<div class="profile-info-name"> About Me</div>
<div class="profile-info-value">
<span class="usereditable" id="about" style="display: inline;"><%= description %></span>
<div class="usereditable" id="about" style="display: inline; white-space:pre-wrap;"><%= description.replace(/\n/g, '<br />') %></div>
</div>
</div>
</div>
@@ -153,4 +153,4 @@
</div>
</div>
</div>
</div>
</div>