projects
/
zzz-spline-forum.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
53a1b80
)
Crash fix: allow creating threads, oops.
veekun-promotions/2010091202
author
Eevee
<git@veekun.com>
Sun, 12 Sep 2010 08:45:58 +0000
(
01:45
-0700)
committer
Eevee
<git@veekun.com>
Sun, 12 Sep 2010 08:45:58 +0000
(
01:45
-0700)
splinext/forum/controllers/forum.py
patch
|
blob
|
history
diff --git
a/splinext/forum/controllers/forum.py
b/splinext/forum/controllers/forum.py
index
3628ff0
..
5d962e0
100644
(file)
--- a/
splinext/forum/controllers/forum.py
+++ b/
splinext/forum/controllers/forum.py
@@
-194,10
+194,12
@@
class ForumController(BaseController):
subject = c.write_thread_form.subject.data,
post_count = 1,
)
+ source = c.write_thread_form.content.data
post = forum_model.Post(
position = 1,
author_user_id = c.user.id,
- content = c.write_thread_form.content.data,
+ raw_content = source,
+ content = spline.lib.markdown.translate(source),
)
thread.posts.append(post)