User tests: Successful: Unsuccessful:
Pull Request resolves #42566 .
Fixes unwanted whitespace when rendering custom fields inside article content.
The custom field render layout introduced whitespace/newlines around the rendered field value. When a field was immediately followed by punctuation, such as a comma or full stop, this whitespace was rendered as a visible space.
For example:
operates in Basingstoke , Hampshire .
The field render layout has been adjusted so that no unintended whitespace is output between the rendered field value and the surrounding article content.
operates in {field1}, we coverWhen a custom field was immediately followed by punctuation, the field rendering introduced an unwanted space before the punctuation.
For example:
operates in Basingstoke , we cover.
The generated HTML contained whitespace between the closing field and the punctuation.
The same content now displays correctly:
operates in Basingstoke, we cover.
Please select:
Documentation link for guide.joomla.org:
No documentation changes for guide.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed
| Status | New | ⇒ | Pending |
| Category | ⇒ | Front End com_fields |
I have tested this item ✅ successfully on f8022b8
I confirm the issue too.
there are unwanted whitespace after the field value
I have tested this item ✅ successfully on f8022b8
Confirm the issue. After applying the patch, the space between the custom field and the comma disappears.
Tested on the installation of the recent Joomla! 6.2.0 RC2
I have tested this item ✅ successfully on f8022b8
Confirm the issue. After applying the patch, the space between the custom field and the comma disappears.
Tested on the installation of the recent Joomla! 6.2.0 RC2
| Status | Pending | ⇒ | Ready to Commit |
| Labels |
Added:
bug
PR-6.2-dev
|
||
RTC
RTC
I have tested this item ✅ successfully on f8022b8
I confirm the issue too.
there are unwanted whitespace after the field value
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/48571.