Lee Well-known member Aug 10, 2023 #1 How would I go about making this code: HTML: <article class="message-body"> {{ bb_code($post.message, 'post', $post) }} </article> Limited to 500chars whilst retaining attachments and BBCode? Thanks
How would I go about making this code: HTML: <article class="message-body"> {{ bb_code($post.message, 'post', $post) }} </article> Limited to 500chars whilst retaining attachments and BBCode? Thanks
Jeremy P XenForo developer Staff member Aug 10, 2023 #2 HTML: {{ bb_code_snippet($post.message, 'post', $post, 500) }}