summaryrefslogtreecommitdiff
path: root/templates/news
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-07-06 20:33:03 -0500
committerDan McGee <dan@archlinux.org>2010-07-06 20:33:03 -0500
commit7b73c0ff8c8caa546442e3e3311867f2c6159754 (patch)
tree9cce13bc2d25cc00ebb29f91ffd01fb969e7f0f9 /templates/news
parentad162d74db6718b2ba7dd1ab2e1f21847a7c7744 (diff)
Get news markdown formatting working everywhere
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/news')
-rw-r--r--templates/news/add.html2
-rw-r--r--templates/news/view.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/news/add.html b/templates/news/add.html
index 51f4d304..48b013f0 100644
--- a/templates/news/add.html
+++ b/templates/news/add.html
@@ -30,7 +30,7 @@
<div class="news-article box" style="display:none;">
<h2>News Preview: <span id="previewtitle"></span></h2>
- <div id="previewdata"></div>
+ <div id="previewdata" class="article-content"></div>
</div>
{% load cdn %}{% jquery %}
<script type="text/javascript">
diff --git a/templates/news/view.html b/templates/news/view.html
index 64c510e3..a7c25a43 100644
--- a/templates/news/view.html
+++ b/templates/news/view.html
@@ -18,7 +18,7 @@
<p class="article-info">{{ news.postdate }} - {{ news.author.get_full_name }}</p>
- <div>{{ news.content|markdown }}</div>
+ <div class="article-content">{{ news.content|markdown }}</div>
</div>
{% endblock %}