Project

General

Profile

Actions

Bug #86299

closed

SVG inline rendering ignores stdWrap

Added by Thorsten Griebenow over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2018-09-18
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

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.

Actions #1

Updated by Josef Glatz over 5 years ago

  • Status changed from New to In Progress
  • Assignee set to Josef Glatz
Actions #2

Updated by Gerrit Code Review over 5 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

Actions #3

Updated by Gerrit Code Review over 5 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

Actions #4

Updated by Josef Glatz over 5 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
Actions #5

Updated by Anonymous over 5 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #6

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF