Feature #47857
closedDelete adding type="text/javascript" if doctype is HTML5
0%
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
Updated by Patrick Broens over 11 years ago
- 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".
Updated by Eric Chavaillaz over 11 years ago
Yes it's not wrong but not elegant ;-)
Thanks
Updated by Eric Chavaillaz about 11 years ago
Patrick, any news about this?
Thanks
Updated by Mathias Schreiber almost 10 years ago
- Category changed from 1050 to Content Rendering
- Target version set to 7.2 (Frontend)
Updated by Benni Mack over 9 years ago
- Target version changed from 7.2 (Frontend) to 7.4 (Backend)
Updated by Susanne Moog over 9 years ago
- Target version changed from 7.4 (Backend) to 7.5
Updated by Benni Mack about 9 years ago
- Target version changed from 7.5 to 7 LTS
Updated by Riccardo De Contardi about 9 years ago
- 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.