Opened 14 years ago
Closed 14 years ago
#21146 closed defect (bug) (fixed)
javascript - remove charset
| Reported by: | neoxx | Owned by: | nacin |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.5 |
| Component: | Validation | Version: | 3.4 |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: | Focuses: |
Description
Some inline-javascripts come with a charset, e.g. in wp-admin/user-edit.php
<script type="text/javascript" charset="utf-8">
http://validator.w3.org/ complains:
Element script must not have attribute charset unless attribute src is also specified.
In total I found three occurrences which are all fixed by the attached patch.
Attachments (1)
Change History (3)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
remove charset from inline-javascripts