Skip to content
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

[5.2] Remove trailing slash #43961

Merged
merged 9 commits into from
Sep 12, 2024
Merged

Conversation

brianteeman
Copy link
Contributor

Pull Request for Issue #38856 .

Summary of Changes

renderelement adds a trailing slash when adding css links

link is a void element and the trailing slash should not be used in html5 (it was only needed for xhtml

Testing Instructions

View the source of the webpage OR use https://validator.w3.org/
Note with chrome inspect is not the same as view source

Actual result BEFORE applying this Pull Request

all css links in the head of the page have a trailing slash

Expected result AFTER applying this Pull Request

no trailing slash

additional information
https://github.com/validator/validator/wiki/Markup-%C2%BB-Void-elements#trailing-slashes-in-void-element-start-tags-do-not-mark-the-start-tags-as-self-closing

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

renderelement adds a traling slash when adding css links

link is a void element and the trailing slash should not be used in html5 (it was only needed for xhtml

Signed-off-by: BrianTeeman <[email protected]>
@Quy
Copy link
Contributor

Quy commented Aug 22, 2024

I have tested this item ✅ successfully on 97f95b3


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/43961.

1 similar comment
@fgsw
Copy link

fgsw commented Aug 22, 2024

I have tested this item ✅ successfully on 97f95b3


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/43961.

@Quy
Copy link
Contributor

Quy commented Aug 22, 2024

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/43961.

@joomla-cms-bot joomla-cms-bot added the RTC This Pull Request is Ready To Commit label Aug 22, 2024
@exlemor
Copy link

exlemor commented Aug 24, 2024

I have tested this item ✅ successfully on b77c3ae

I have successfully tested this.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/43961.

@softforge
Copy link
Contributor

I have tested this item ✅ successfully on b77c3ae

Removes all the trailing cross-throughs in the


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/43961.

@Quy
Copy link
Contributor

Quy commented Aug 24, 2024

Part of PR #43239

@brianteeman
Copy link
Contributor Author

@Quy except that PR is wrong

@HLeithner HLeithner added the bug label Sep 2, 2024
@Hackwar Hackwar enabled auto-merge (squash) September 12, 2024 06:56
@Hackwar
Copy link
Member

Hackwar commented Sep 12, 2024

Thank you for your contribution @brianteeman!

@Hackwar Hackwar added this to the Joomla! 5.2.0 milestone Sep 12, 2024
@Hackwar Hackwar merged commit 269fe84 into joomla:5.2-dev Sep 12, 2024
3 checks passed
@joomla-cms-bot joomla-cms-bot removed the RTC This Pull Request is Ready To Commit label Sep 12, 2024
@brianteeman
Copy link
Contributor Author

Thanks

@brianteeman brianteeman deleted the trailing_slash branch September 12, 2024 07:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants