<commit_before><?php
$pageTitle = $this->getChildHtml('page.main.title');
$categoryImage = $this->getChildHtml('category.image');
$categoryDescription = $this->getChildHtml('category.description');
$categoryCms = $this->getChildHtml('category.cms');
?>

<div
    class="
        banner
        banner--category
        catalog-list__banner
        <?php if ($categoryImage): ?>
            banner--category-image
        <?php endif; ?>
    "
    <?php if ($categoryDescription): ?>
        data-mage-init='{ "bannerCollapsible": {} }'
    <?php endif; ?>
>
    <div class="banner__wrapper">
        <div class="banner__image-wrapper">
            <?php if ($categoryImage): ?>
                <?= /* @noEscape */ $categoryImage ?>
            <?php endif; ?>
        </div>

        <div class="banner__heading-wrapper">
            <div class="banner__heading">
                <?= /* @noEscape */ $pageTitle ?>
            </div>
            <?php if ($categoryDescription): ?>
                <button
                    class="
                        button
                        button--icon
                        banner__button<commit_msg>#69990 - fix catalog description<commit_after><?php
$pageTitle = $this->getChildHtml('page.main.title');
$categoryImage = $this->getChildHtml('category.image');
$categoryDescription = $this->getChildHtml('category.description');
$categoryCms = $this->getChildHtml('category.cms');

//temporary fix for 2 lines at the bottom of file:
//magento/module-page-builder/view/frontend/templates/catalog/category/view/description.phtml
$categoryDescription =
    $categoryDescription && (strlen($categoryDescription) > 1)
    ? $categoryDescription
    : false;
?>
<div
    class="
        banner
        banner--category
        catalog-list__banner
        <?php if ($categoryImage): ?>
            banner--category-image
        <?php endif; ?>
    "
    <?php if ($categoryDescription): ?>
        data-mage-init='{ "bannerCollapsible": {} }'
    <?php endif; ?>
>
    <div class="banner__wrapper">
        <div class="banner__image-wrapper">
            <?php if ($categoryImage): ?>
                <?= /* @noEscape */ $categoryImage ?>
            <?php endif; ?>
        </div>

        <div class="banner__heading-wrapper">
            <div class="banner__heading">
                <?= /* @noEscape */ $pageTitle ?>
            </div>
            <?php if ($categoryDescription): ?>
                <button
                    class="
                        button
                        button--icon
                        banner__button
{'fraction_non_alphanumeric': 0.14930555555555555, 'fraction_numerical': 0.002700617283950617, 'mean_word_length': 1.9634285714285715, 'pattern_counts': {'":': 2, '<': 39, '<?xml version=': 0, '>': 46, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1690400', 'n_tokens_mistral': 721, 'n_tokens_neox': 693, 'n_words': 127}