diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2021-06-21 21:26:45 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2021-06-24 20:59:21 +0200 |
commit | 23c46c3f2bfa735d30e815b9ff45c8008adbcbc5 (patch) | |
tree | 48e7f338dd1ceb40df928b3558110ab25512c394 /doc/en | |
parent | b3b4ef648b0a858c4183dba28071b2c84ef31a7c (diff) | |
download | weechat-23c46c3f2bfa735d30e815b9ff45c8008adbcbc5.zip |
irc: escape/unescape IRC message tags values (issue #1654)
Spec: https://ircv3.net/specs/extensions/message-tags#escaping-values
Diffstat (limited to 'doc/en')
-rw-r--r-- | doc/en/weechat_dev.en.adoc | 1 | ||||
-rw-r--r-- | doc/en/weechat_plugin_api.en.adoc | 14 |
2 files changed, 15 insertions, 0 deletions
diff --git a/doc/en/weechat_dev.en.adoc b/doc/en/weechat_dev.en.adoc index 34b7e7358..2c889bcc1 100644 --- a/doc/en/weechat_dev.en.adoc +++ b/doc/en/weechat_dev.en.adoc @@ -294,6 +294,7 @@ WeeChat "core" is located in following directories: | irc-redirect.c | Redirection of IRC command output. | irc-sasl.c | SASL authentication with IRC server. | irc-server.c | I/O communication with IRC server. +| irc-tag.c | Functions to manipulate IRC message tags. | irc-upgrade.c | Save/restore of IRC data when upgrading WeeChat. | javascript/ | JavaScript plugin. | weechat-js.cpp | Main JavaScript functions (load/unload scripts, execute JavaScript code). diff --git a/doc/en/weechat_plugin_api.en.adoc b/doc/en/weechat_plugin_api.en.adoc index dde1f532c..3ce99dbcc 100644 --- a/doc/en/weechat_plugin_api.en.adoc +++ b/doc/en/weechat_plugin_api.en.adoc @@ -11837,6 +11837,20 @@ List of modifiers defined by WeeChat and plugins that can be used: Message displayed after `/msg` sent to nickserv. | Message with hidden password. +| [[hook_modifier_irc_tag_escape_value]] irc_tag_escape_value + + _(WeeChat ≥ 3.3)_ | + - | + Any string. | + String with IRC tag value escaped, + see: https://ircv3.net/specs/extensions/message-tags#escaping-values. + +| [[hook_modifier_irc_tag_unescape_value]] irc_tag_unescape_value + + _(WeeChat ≥ 3.3)_ | + - | + Any string. | + String with IRC tag value unescaped, + see: https://ircv3.net/specs/extensions/message-tags#escaping-values. + | [[hook_modifier_color_decode_ansi]] color_decode_ansi + _(WeeChat ≥ 1.0)_ | "1" to keep colors, "0" to remove colors | |