Bug #86299
closedSVG inline rendering ignores stdWrap
100%
Description
When rendering a SVG with renderMode = inline the stdWrap settings are ignored. View my example:
lib.logo = COA
lib.logo.10 = SVG
10 {
src = EXT:MYEXT/mysvg.svg
renderMode = inline
stdWrap {
typolink {
parameter.data = leveluid:0
}
wrap = |
}
}
...
Neither the typolink nor the stdWrap.wrap will be parsed.
Updated by Josef Glatz about 6 years ago
- Status changed from New to In Progress
- Assignee set to Josef Glatz
Updated by Gerrit Code Review about 6 years ago
- Status changed from In Progress to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58319
Updated by Gerrit Code Review about 6 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58319
Updated by Josef Glatz about 6 years ago
Patch can be easily tested with¶
# Default PAGE object: page = PAGE page.10 = TEXT page.10.value = HELLO WORLD! page.20 = SVG page.20.renderMode = inline page.20.value ( <rect x="100" y="100" width="500" height="200" fill="white" stroke="black" stroke-width="5px"/> <line x1="0" y1="200" x2="700" y2="200" stroke="red" stroke-width="20px"/> <polygon points="185 0 125 25 185 100" transform="rotate(135 125 25)" /> <circle cx="190" cy="150" r="40" stroke="black" stroke-width="2" fill="yellow"/> ) page.20.stdWrap.wrap = FOOO|BAR
Updated by Anonymous about 6 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset d58d92cf83650a6c12b5943d6215e9392a1b3f9b.