Version: 3.1.3
Bug Description
Space gets removed from a block inside a HTML class. Sure, not the prettiest code, but it works without dedent :)
Steps To Reproduce
Compile this code with Dedent enabled:
<div class="page-content{block page-content-class} content-area{/block}">
Stuff
</div>
PHP result:
/** {block page-content-class} on line 63 */
public function blockPage_content_class(array $ʟ_args): void
{
echo 'content-area'; // no space at the start of the string
}
HTML result:
<div class="page-contentcontent-area">
Stuff
</div>
Expected Behavior
Without Dedent:
/** {block page-content-class} on line 63 */
public function blockPage_content_class(array $ʟ_args): void
{
echo ' content-area'; // space at the start of the string
}
<div class="page-content content-area">
Stuff
</div>
Version: 3.1.3
Bug Description
Space gets removed from a block inside a HTML class. Sure, not the prettiest code, but it works without dedent :)
Steps To Reproduce
Compile this code with Dedent enabled:
PHP result:
HTML result:
Expected Behavior
Without Dedent: