[GH-ISSUE #1127] Column with filename becomes hidden because of quotes misplacement #723

Open
opened 2026-03-02 16:01:02 +03:00 by kerem · 0 comments
Owner

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.
Screenshot_20231219_062542

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)) ?>>

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. ![Screenshot_20231219_062542](https://github.com/prasathmani/tinyfilemanager/assets/39994745/b1043a34-035d-4f54-bbcb-10f8e2353571) 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)) ?>>`
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tinyfilemanager#723
No description provided.