Revert "fix test hopefully"

This reverts commit 7d8e2671ad.
This commit is contained in:
Will Pearson 2019-01-12 18:06:19 -08:00
parent 7d8e2671ad
commit d3776bc9d6
1 changed files with 2 additions and 0 deletions

View File

@ -44,6 +44,7 @@
import { mark, stop } from '../../_utils/marks'
import { emojifyText } from '../../_utils/emojifyText'
import escapeHtml from 'escape-html'
import { LONG_POST_TEXT } from '../../_static/statuses'
export default {
oncreate () {
@ -52,6 +53,7 @@
},
store: () => store,
computed: {
spoilerText: ({ originalStatus }) => originalStatus.spoiler_text || LONG_POST_TEXT,
emojis: ({ originalStatus }) => originalStatus.emojis,
massagedSpoilerText: ({ spoilerText, emojis, $autoplayGifs }) => {
spoilerText = escapeHtml(spoilerText)