benjaminkott / benjaminkott/bootstrap_package
The Value 0 in a table will be dispayed as nbsp und therefore the number vanishes to an empty cell
- Dominant language
- PHP
- Stars
- 355
- Forks
- 212
- Avg merge
- 1h 4m
- Merged PRs (30d)
- 31
Description
# Bug Report
The Value 0 in a table (content element CSV) will be dispayed as nbsp und therefore the number vanishes to an empty cell
## Prerequisites
None.
I simply use a CSV Table like
Station;Number of observations;Date
Halle;0;13.08.2025
Duisburg;7;13.08.2025
The output Table wont show the 0 for "Halle", the cell is just blank.
## Description
Today, I dug my way throu Templates an Partials and found in
\bootstrap_package\Resources\Private\Partials\ContentElements\Table\Columns.html
I use bootstrap 12.0.10, but I've seen this in 15.0.3 as well.
Line 46
Changeing this to
cured my problem.
Is this behaviour intended? Typo3 Core was affected long in the past too (content element TABLE) and as I looked its been fixed (as above mentioned) long since 9.5.something.
Regards,
Jürgen
Contributor guide
No contributing guide indexed for this repository
Research direction
Open Resources/Private/Partials/ContentElements/Table/Columns.html and inspect line 46, where the table cell value is tested. Reproduce the CSV table example with a 0 value, then verify that the rendered cell preserves 0 rather than becoming empty, without changing the behavior for empty cells.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- bootstrap, php
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 38/100