[BUGFIX] Ensure new @import syntax is loaded properly 90/58090/4
authorBenni Mack <benni@typo3.org>
Thu, 30 Aug 2018 13:52:44 +0000 (15:52 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Thu, 30 Aug 2018 17:03:04 +0000 (19:03 +0200)
commit6f5d20a1c5a7c08915a865306b4f6879ac0be352
tree7b19b6355f42d907f5ac736925ba22896b6cc8e1
parentf6f4b03ea6d13378f695785f778fe8011692f395
[BUGFIX] Ensure new @import syntax is loaded properly

The new @import TypoScript syntax only works
if there is an empty line before, so this should
be added - to be exactly in line with the <INCLUDE_TYPOSCRIPT>
syntax.

Resolves: #85867
Releases: master
Change-Id: I20fd9ba12b19baedfe4e4522811dfaebb51773fa
Reviewed-on: https://review.typo3.org/58090
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/core/Classes/TypoScript/Parser/TypoScriptParser.php
typo3/sysext/core/Tests/Unit/TypoScript/Parser/TypoScriptParserTest.php