Skip to content

Prefix and postfix html value not display #3489

@napley

Description

@napley

Prefix and postfix html value not display if the content start with HTML tag

Details

Question Answer
Relevant Bolt Version 5.1.24
Install type Composer install
PHP version 8.1
Web server Apache / Nginx
For UX/UI issues Chrome

Reproduction

Bug summary

I have upgrade my bolt project from 4.2.5 to 5.1.24 and I got a behaviour which does not exist before. I have tested with a fresh install and I get the same behaviour.

With this value, the prefix or postfix are not display :

prefix: |
                <p>A text-only version of the content, that can be used to "tease"
                the content when it's used in listing pages or search results.</p>

With a line break or any character, this value, the prefix or postfix are display :

postfix: |
                
                <p>A text-only version of the content, that can be used to "tease"
                the content when it's used in listing pages or search results.</p>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions