Feature #47857
closed
Delete adding type="text/javascript" if doctype is HTML5
Added by Eric Chavaillaz over 11 years ago.
Updated about 9 years ago.
Category:
Content Rendering
Description
Hi,
Because to add a JavaScript file in an HTML5 document is made like this :
<script>FileName.js</script>
And no more like this :
<script type="text/javascript">FileName.js</script>
I purpose to remove adding type="text/javascript" if the doctype (set in config) is HTML5.
Thanks
- Tracker changed from Task to Feature
- Assignee set to Patrick Broens
- TYPO3 Version changed from 4.5 to 6.2
You are right. The type can be removed when it is HTML5. But it is not wrong, only redundant. Therefor I've set the TYPO3 version to 6.2, and changed the tracker to "Feature" instead of "Task".
- Status changed from New to Accepted
Yes it's not wrong but not elegant ;-)
Thanks
Patrick, any news about this?
Thanks
- Category changed from 1050 to Content Rendering
- Target version set to 7.2 (Frontend)
- Target version changed from 7.2 (Frontend) to 7.4 (Backend)
- Target version changed from 7.4 (Backend) to 7.5
- Target version changed from 7.5 to 7 LTS
- Target version deleted (
7 LTS)
- Status changed from Accepted to Closed
I close this as it is a duplicate of #45512, please continue the discussion there.
If you think that this is the wrong decision , then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.
Also available in: Atom
PDF