From 3cc6c963e08dacc12105ab5969cbc71e4e03250e Mon Sep 17 00:00:00 2001 From: "Lex Darlog (DRL)" <3897975+Lex-DRL@users.noreply.github.com> Date: Sun, 31 Aug 2025 06:32:20 +0500 Subject: [PATCH] shorten `safe_format` tooltip --- node_formatter.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/node_formatter.py b/node_formatter.py index 51e3a86..83c3d2f 100644 --- a/node_formatter.py +++ b/node_formatter.py @@ -196,11 +196,8 @@ _input_types = _deepfreeze({ "Do recursive format - i.e., allow the chunks from the dictionary to reference other chunks." )}), 'safe_format': (_IO.BOOLEAN, {'default': True, 'label_on': 'yes', 'label_off': 'no', 'tooltip': ( - "Safe mode: If a specific {text pattern} can't be formatted " - "(it doesn't exist in the dict or isn't a valid formatting pattern at all), " - "leave it as-is.\n" - "On: invalid {patterns} preserved intact.\n" - "Off: invalid {patterns} raise an error.\n\n" + "If template contains an invalid {text pattern} which can't be formatted - leave it as-is " + "(instead of throwing an error).\n" "Safe mode is recommended for templates with JSON, CSS, or other literal curly brackets." )}), 'show_status': (_IO.BOOLEAN, {'default': True, 'label_on': 'formatted string', 'label_off': 'no', 'tooltip': (