Project

General

Profile

Actions

Feature #47857

closed

Delete adding type="text/javascript" if doctype is HTML5

Added by Eric Chavaillaz about 11 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Should have
Category:
Content Rendering
Target version:
-
Start date:
2013-05-03
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

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


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #45512: Make the type attribute optional on script, style and link elementsClosed2013-02-15

Actions
Actions

Also available in: Atom PDF