- Affected version
- 2.2.13
The examples for the [img] tag isn't phrased:
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_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" />