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

View File

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

View File

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