Feature #7718
remove individual attributes from HTML-content
| Status: | Closed | Start date: | 2010-05-09 | |
|---|---|---|---|---|
| Priority: | Could have | Due date: | ||
| Assignee: | Olivier Schopfer | % Done: | 100% |
|
| Category: | - | |||
| Target version: | - | |||
| Votes: | 0 |
Description
it would be great, if there were the possibility to remove individual attributes from HTML-content, because if CSS-styles are integrated into style-attributes, there is no need for IDs or CLASSes anymore (in some cases).
simple add this into your typoscript:
10 = USER 10.userFunc = tx_css2inline_pi1->main 10.removeAttributes = class,id
...and use the patch attached here.
this will remove all attributes listed in "removeAttributes"
best regards, Stephan
History
Updated by Olivier Schopfer about 3 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
Many thanks to Stephan Kellermayr for his excellent proposal.
It's applied and a new version is on the TER.
Best regards.
Olivier