-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
[stable27] fix(files): sanitize name and ext display #39333
Conversation
/compile amend / |
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
f6d3451
to
ea37d1a
Compare
<span class="files-list__row-name-text">{{ displayName }}</span> | ||
<span class="files-list__row-name-text"> | ||
<!-- Keep the displayName stuck to the extension to avoid whitespace rendering issues--> | ||
<span class="files-list__row-name-name" v-text="displayName" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We use the mustache notation everywhere else, sure we want to mix with the v-text
notation?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, because otherwise we have whitespace in the output too.
Vue does NOT trim whitespace. And for this specific example, we want to have none rendered. :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🐘
Backport of 28c2d9e from #38950