[TASK] Deprecate options `value` and `noscript` of SVG content object
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Documentation / Changelog / master / Deprecation-82110-DeprecateValueAndNoscriptOptionsInSVGContentObject.rst
1 .. include:: ../../Includes.txt
2
3 ===================================================================================
4 Deprecation: #82110 - Deprecate option "value" and "noscript" in SVG content object
5 ===================================================================================
6
7 See :issue:`82110`
8
9 Description
10 ===========
11
12 The following TypoScript settings of the SVG content object have been marked as deprecated:
13
14 * :typoscript:`value` (in case :typoscript:`renderMode` is not set to inline)
15 * :typoscript:`noscript`
16
17 The SVG content object renderer has used the two options "value" and "noscript" to render the given
18 value into a :html:`<script type="image/svg+xml">` tag.
19 This kind of implementation is very old and has been marked as deprecated.
20
21 The SVG content object supports two render variants:
22
23 1) the :html:`<object>` tag variant (:typoscript:`renderMode = object`) [default]
24 2) the :html:`<svg>` tag variant (:typoscript:`renderMode = inline`)
25
26 The second one is nearly the same as the script tag variant, so an alternative is still in place.
27
28 Impact
29 ======
30
31 Using one of the two options will trigger a deprecation log entry.
32
33
34 Affected Installations
35 ======================
36
37 Instances which use at least one of the two options.
38
39
40 Migration
41 =========
42
43 Use the new :typoscript:`renderMode = inline` to render a SVG file as :html:`<svg>`
44
45 .. index:: Frontend, TypoScript, NotScanned