Fixed Img bb-code has unphrased example on bb-code help page

Xon

Well-known member
Affected version
2.2.13
The examples for the [img] tag isn't phrased:
XML:
            <xf:macro name="row_output"
                arg-title="{{ phrase('bb_code_help_img_title')|preEscaped }}"
                arg-desc="{{ phrase('bb_code_help_img_desc')|preEscaped }}"
                arg-example="[IMG]{{ base_url(property('publicMetadataLogoUrl') ?: property('publicLogoUrl'), true) }}[/IMG]"
                arg-anchor="image" />

The rest of the examples are phrased, and use arguments where required.

For example the user mention:
XML:
            <xf:macro name="row_output"
                arg-title="{{ phrase('bb_code_help_user_title')|preEscaped }}"
                arg-desc="{{ phrase('bb_code_help_user_desc')|preEscaped }}"
                arg-example="{{
                    phrase('bb_code_help_user_example', {
                        'id': $xf.visitor.user_id ? $xf.visitor.user_id : '1',
                        'name': phrase('user_name')
                    })|preEscaped
                }}"
                arg-anchor="user-mention" />
 
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.2.14).

Change log:
Properly phrase the [IMG] BB Code help page example
There may be a delay before changes are rolled out to the XenForo Community.
 
Top Bottom