Browse Source

Merge pull request #908 from doccano/fix/#879

Keep the new line in the text classification
pull/909/head
Hiroki Nakayama 4 years ago
committed by GitHub
parent
commit
cc7726b323
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 3 deletions
  1. 10
      frontend/components/containers/annotation/TextClassification.vue

10
frontend/components/containers/annotation/TextClassification.vue

@ -12,9 +12,7 @@
:delete-label="removeLabel"
/>
</v-card-title>
<v-card-text class="title">
{{ currentDoc.text }}
</v-card-text>
<v-card-text class="title highlight" v-text="currentDoc.text" />
</v-card>
</template>
@ -88,3 +86,9 @@ export default {
}
}
</script>
<style scoped>
.highlight {
white-space: pre-wrap;
}
</style>
Loading…
Cancel
Save