Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/Contact subtitle encoding #3755

Merged
merged 1 commit into from
Dec 27, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/ContactDetails.vue
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
<!-- org, title -->
<template #subtitle>
<template v-if="isReadOnly">
{{ formattedSubtitle }}
<span v-html="formattedSubtitle" />

Check warning on line 68 in src/components/ContactDetails.vue

View workflow job for this annotation

GitHub Actions / eslint

'v-html' directive can lead to XSS attack
</template>
<template v-else>
<input id="contact-title"
Expand Down Expand Up @@ -230,7 +230,7 @@
<template #icon>
<IconMail :size="20" />
</template>
<ActionLink v-for="emailAddress in emailAddressList"

Check warning on line 233 in src/components/ContactDetails.vue

View workflow job for this annotation

GitHub Actions / eslint

Variable 'emailAddress' is already declared in the upper scope
:key="emailAddress"
:href="'mailto:' + emailAddress">
<template #icon>
Expand Down Expand Up @@ -965,7 +965,7 @@
/**
* Update this.localContact and set this.fixed
*
* @param {Contact} contact the contact to clone

Check warning on line 968 in src/components/ContactDetails.vue

View workflow job for this annotation

GitHub Actions / eslint

The type 'Contact' is undefined
*/
async updateLocalContact(contact) {
// create empty contact and copy inner data
Expand Down Expand Up @@ -1016,7 +1016,7 @@
/**
* Should display the property
*
* @param {Property} property the property to check

Check warning on line 1019 in src/components/ContactDetails.vue

View workflow job for this annotation

GitHub Actions / eslint

The type 'Property' is undefined
* @return {boolean}
*/
canDisplay(property) {
Expand Down
Loading