Commit fe02d04f by Rocky Duan

use raw title

parent bd4a386d
...@@ -126,7 +126,7 @@ initializeFollowThread = (thread) -> ...@@ -126,7 +126,7 @@ initializeFollowThread = (thread) ->
else else
view = { view = {
id: id id: id
title: $local(".thread-title").html() title: $local(".thread-raw-title").html()
body: $local(".thread-raw-body").html() body: $local(".thread-raw-body").html()
tags: $local(".thread-raw-tags").html() tags: $local(".thread-raw-tags").html()
} }
......
...@@ -63,6 +63,7 @@ ...@@ -63,6 +63,7 @@
% else: % else:
<a class="thread-title" name="${content['id']}" href="javascript:void(0)">${content['title'] | h}</a> <a class="thread-title" name="${content['id']}" href="javascript:void(0)">${content['title'] | h}</a>
% endif % endif
<div class="thread-raw-title" style="display: none">${content['title']}</div>
% endif % endif
</%def> </%def>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment