comment -> commentHTML

This commit is contained in:
ccd0 2015-04-12 21:36:53 -07:00
parent d0ab95a3fe
commit e64815c24b
3 changed files with 4 additions and 4 deletions

View File

@ -42,7 +42,7 @@ Build =
flag: Build.unescape data.country_name
dateText: data.now
dateUTC: data.time
comment: {innerHTML: data.com or ''}
commentHTML: {innerHTML: data.com or ''}
# thread status
isSticky: !!data.sticky
isClosed: !!data.closed
@ -78,7 +78,7 @@ Build =
{
postID, threadID, boardID
name, capcode, capcodeHighlight, tripcode, uniqueID, email, subject, flagCode, flag, dateText, dateUTC
comment
commentHTML
file, fileDeleted
} = o
isOP = postID is threadID

View File

@ -1,5 +1,5 @@
?{!isOP}{<div class="sideArrows" id="sa${postID}">&gt;&gt;</div>}
<div id="p${postID}" class="post ${postClass}?{capcodeHighlight}{ highlightPost}">
?{isOP}{&{fileBlock}&{postInfo}}{&{postInfo}&{fileBlock}}
<blockquote class="postMessage" id="m${postID}">&{comment}</blockquote>
<blockquote class="postMessage" id="m${postID}">&{commentHTML}</blockquote>
</div>

View File

@ -144,7 +144,7 @@ class Fetcher
flag: data.poster_country_name
dateText: data.fourchan_date
dateUTC: data.timestamp
comment: comment
commentHTML: comment
# file
if data.media?.media_filename
o.file =