Add a markdown-view directive and change all uses of markdown in the partials to use the directive

This commit is contained in:
Joseph Schorr 2013-11-04 19:36:56 -05:00
parent 96730965cd
commit 9beb627ab0
10 changed files with 83 additions and 89 deletions

View file

@ -40,7 +40,7 @@
<div class="section">
<strong>Description:</strong><br>
<p class="description lead editable" ng-click="editDescription()">
<span class="content" ng-bind-html-unsafe="getMarkedDown(repo.description)"></span>
<span class="markdown-view content" content="repo.description"></span>
<i class="fa fa-edit"></i>
</p>
</div>