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


Well-known member
Affected version
The examples for the [img] tag isn't phrased:
            <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:
            <xf:macro name="row_output"
                arg-title="{{ phrase('bb_code_help_user_title')|preEscaped }}"
                arg-desc="{{ phrase('bb_code_help_user_desc')|preEscaped }}"
                    phrase('bb_code_help_user_example', {
                        'id': $xf.visitor.user_id ? $xf.visitor.user_id : '1',
                        'name': phrase('user_name')
                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