diff --git a/Tekst-API/tekst/models/resource.py b/Tekst-API/tekst/models/resource.py index 3fbab7ba..47da94c2 100644 --- a/Tekst-API/tekst/models/resource.py +++ b/Tekst-API/tekst/models/resource.py @@ -202,7 +202,7 @@ class ResourceBase(ModelBase, ModelFactoryMixin): citation: Annotated[ ConStrOrNone( max_length=4096, - cleanup="oneline", + cleanup="multiline", ), Field( description="Citation details for this resource", diff --git a/Tekst-Web/src/components/resource/ResourceInfoContent.vue b/Tekst-Web/src/components/resource/ResourceInfoContent.vue index 39c7d0a2..7a3dd1c5 100644 --- a/Tekst-Web/src/components/resource/ResourceInfoContent.vue +++ b/Tekst-Web/src/components/resource/ResourceInfoContent.vue @@ -92,7 +92,7 @@ const showInfoModal = ref(false); {{ $t('browse.contents.widgets.infoWidget.citeAs') }} -
+
{{ resource.citation }}
diff --git a/Tekst-Web/src/forms/resources/config/ResourceSettingsPropertiesFormItems.vue b/Tekst-Web/src/forms/resources/config/ResourceSettingsPropertiesFormItems.vue index 6d4d950c..a23ecd55 100644 --- a/Tekst-Web/src/forms/resources/config/ResourceSettingsPropertiesFormItems.vue +++ b/Tekst-Web/src/forms/resources/config/ResourceSettingsPropertiesFormItems.vue @@ -56,9 +56,12 @@ const metadataKeysOptions = computed(() =>