Broken output in BB code help for uploaded logs

Kirby

Well-known member
Affected version
2.3.4
Code:
<xf:macro id="row_output"
    arg-title="{{ phrase('bb_code_help_img_title')|preEscaped }}"
    arg-desc="{{ phrase('bb_code_help_img_desc')|preEscaped }}"
    arg-example="{{ phrase('bb_code_help_img_example', {
        'url': base_url(property('publicMetadataLogoUrl') ?: property('publicLogoUrl'), true)
    })|preEscaped }}"
    arg-anchor="image" />

If the logos are uploaded (eg. the URL starts with /data/), base_url leaves the URL untouched generating [IMG]/data/...[/IMG]
 
Back
Top Bottom