mirror of
https://github.com/prasathmani/tinyfilemanager.git
synced 2026-04-26 10:55:56 +03:00
[GH-ISSUE #1127] Column with filename becomes hidden because of quotes misplacement #723
Labels
No labels
Feature
Feature
Is It Really an Issue?
Need More Info
Request
Security
bug
duplicate
enhancement
enhancement
help wanted
invalid
pull-request
question
suggestion
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tinyfilemanager#723
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @imThief on GitHub (Dec 19, 2023).
Original GitHub issue: https://github.com/prasathmani/tinyfilemanager/issues/1127
Hello
The subj is clearly visible on the screenshot: because of misplaced quotes browser treats any words in filename after first space as html tag's options. Because of that whole element becomes "hidden" if the filename contains such word.

I guess something one of this should do the trick:
<td data-sort="<?php echo fm_enc($f) ?>"><td data-sort=<?php echo '"'.fm_enc($f).'"' ?>><td data-sort=<?php echo fm_enc(str_replace(' ','_',$f)) ?>>