diff --git a/CLAUDE.md b/CLAUDE.md
index cb4e70a..0261dd2 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -18,12 +18,10 @@ When creating, modifying, or removing plugins:
## Testing
-**CRITICAL**: After making ANY changes to code files, you MUST run these commands in order:
+After every session that contains changes to files:
-1. **Format code**: `make format` - Format all code according to project standards
-2. **Lint code**: `make lint` - Check code style and quality (must show "0 issues")
-3. **Run tests**: `make test` - Run all tests to ensure functionality works
+1. Check files are properly formatted running `make format`
+2. Check code style and linting: Run `make lint`
+3. Test the plugin functionality: Run `make test`
4. Verify documentation accuracy
5. Ensure all examples work as described
-
-**These commands are MANDATORY after every code change, no exceptions.**
diff --git a/internal/admin/templates/channel_detail.html b/internal/admin/templates/channel_detail.html
index 7e12d57..9f9a78d 100644
--- a/internal/admin/templates/channel_detail.html
+++ b/internal/admin/templates/channel_detail.html
@@ -32,7 +32,7 @@
Enable All Plugins
-
+
When enabled, all registered plugins will be automatically enabled for this channel. Individual plugin settings will be ignored.
@@ -124,4 +124,4 @@
-{{end}}
+{{end}}
\ No newline at end of file
diff --git a/internal/platform/telegram/telegram.go b/internal/platform/telegram/telegram.go
index b015793..07c65a9 100644
--- a/internal/platform/telegram/telegram.go
+++ b/internal/platform/telegram/telegram.go
@@ -236,14 +236,14 @@ func (t *TelegramPlatform) SendMessage(msg *model.Message) error {
"chat_id": chatID,
"text": msg.Text,
}
-
- // Set parse_mode based on plugin preference or default to empty string
+
+ // Set parse_mode based on plugin preference or default to Markdown
if msg.Raw != nil && msg.Raw["parse_mode"] != nil {
// Plugin explicitly set parse_mode
payload["parse_mode"] = msg.Raw["parse_mode"]
} else {
- // Default to empty string (no formatting)
- payload["parse_mode"] = ""
+ // Default to Markdown for backward compatibility
+ payload["parse_mode"] = "Markdown"
}
// Add reply if needed
diff --git a/internal/plugin/social/twitter.go b/internal/plugin/social/twitter.go
index f2c6cc9..69bd979 100644
--- a/internal/plugin/social/twitter.go
+++ b/internal/plugin/social/twitter.go
@@ -75,6 +75,7 @@ func (p *TwitterExpander) OnMessage(msg *model.Message, config map[string]interf
Chat: msg.Chat,
ReplyTo: msg.ID,
Channel: msg.Channel,
+ Raw: map[string]interface{}{"parse_mode": ""},
}
action := &model.MessageAction{
diff --git a/internal/plugin/social/twitter_test.go b/internal/plugin/social/twitter_test.go
index c0e1681..d94cad4 100644
--- a/internal/plugin/social/twitter_test.go
+++ b/internal/plugin/social/twitter_test.go
@@ -117,4 +117,4 @@ func TestTwitterExpander_OnMessage(t *testing.T) {
}
})
}
-}
+}
\ No newline at end of file