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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
7 additions and
3 deletions
-
frontend/components/containers/annotation/TextClassification.vue
|
@ -12,9 +12,7 @@ |
|
|
:delete-label="removeLabel" |
|
|
:delete-label="removeLabel" |
|
|
/> |
|
|
/> |
|
|
</v-card-title> |
|
|
</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> |
|
|
</v-card> |
|
|
</template> |
|
|
</template> |
|
|
|
|
|
|
|
@ -88,3 +86,9 @@ export default { |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
</script> |
|
|
</script> |
|
|
|
|
|
|
|
|
|
|
|
<style scoped> |
|
|
|
|
|
.highlight { |
|
|
|
|
|
white-space: pre-wrap; |
|
|
|
|
|
} |
|
|
|
|
|
</style> |