<!-- eslint-disable vue/no-v-html -->
<template>
  <div class="readaloud-preview">
    <div class="stem">
      <span class="question-number">{{ data.property.question_number }}.</span>
      <span v-html="sanitizeHTML(data.stem)"></span>
    </div>
    <div>{{ data.reference_answer }}</div>
  </div>
</template>

<script>
import PreviewMixin from './components/PreviewMixin';

export default {
  name: 'ReadAloudPreview',
  mixins: [PreviewMixin],
  data() {
    return {};
  },
  methods: {},
};
</script>

<style lang="scss" scoped>
@use '@/styles/mixin.scss' as *;

.readaloud-preview {
  @include preview;
}
</style>
