forbid mentions in sigs

This commit is contained in:
2025-12-04 05:36:57 +03:00
parent 062cab44bc
commit 73af2dc3b9
5 changed files with 10 additions and 4 deletions

View File

@@ -39,7 +39,7 @@
<input autocomplete='off' type='checkbox' id='subscribe_by_default' name='subscribe_by_default' {{ 'checked' if session.get('subscribe_by_default', default=true) else '' }}>
<label for='subscribe_by_default'>Subscribe to thread by default when responding</label><br>
<label for='babycode-content'>Signature</label>
{{ babycode_editor_component(ta_name='signature', prefill=active_user.signature_original_markup, ta_placeholder='Will be shown under each of your posts', optional=true) }}
{{ babycode_editor_component(ta_name='signature', prefill=active_user.signature_original_markup, ta_placeholder='Will be shown under each of your posts', optional=true, banned_tags=SIG_BANNED_TAGS) }}
<input type='submit' value='Save settings'>
</form>
</fieldset>