[TASK] CSS StyledContent wraps classes spaceBefore/After twice
[Packages/TYPO3.CMS.git] / typo3 / sysext / css_styled_content / Classes / Controller / CssStyledContentController.php
index b14a454..fcce15d 100644 (file)
@@ -1054,8 +1054,8 @@ class CssStyledContentController extends \TYPO3\CMS\Frontend\Plugin\AbstractPlug
                                $declaration = 'margin-bottom: ' . $value . 'px;';
                        }
                        if (!empty($value)) {
-                               if ($configuration['stdWrap.']) {
-                                       $className = $this->cObj->stdWrap($value, $configuration['stdWrap.']);
+                               if ($configuration['classStdWrap.']) {
+                                       $className = $this->cObj->stdWrap($value, $configuration['classStdWrap.']);
                                } else {
                                        $className = $value;
                                }
@@ -1200,4 +1200,4 @@ class CssStyledContentController extends \TYPO3\CMS\Frontend\Plugin\AbstractPlug
 }
 
 
-?>
\ No newline at end of file
+?>