diff options
| Commit | 32b30dc2de62b23a98aea3bd9332430ba5ed3eb9 (patch) | |
|---|---|---|
| Author | 2025-07-21 10:48:45 +0300 | |
| Committer | 2025-07-21 10:48:45 +0300 | |
| Files | 66ae1711194e6e3f393673bf3e63ca397122c1c2 | |
| syndamia.com-32b30dc2de62b23a98aea3bd9332430ba5ed3eb9.tar syndamia.com-32b30dc2de62b23a98aea3bd9332430ba5ed3eb9.tar.gz syndamia.com-32b30dc2de62b23a98aea3bd9332430ba5ed3eb9.zip | ||
| Parent | 27e399d8e74440393383548f60276d2623986416 (diff) | |
fix(ext/attention): Fix format of assigned opening element
1 files changed, 5 insertions, 5 deletions
| -rw-r--r-- | ext/attention.awk | 10 |
diff --git a/ext/attention.awk b/ext/attention.awk index 9182635..85b7854 100644 --- a/ext/attention.awk +++ b/ext/attention.awk @@ -1,9 +1,9 @@ BEGIN { - define("question", open_attention("dialog-question.png")) - define("warn", open_attention("dialog-warning.png")) - define("important", open_attention("dialog-important.png")) + define_attention("question", "dialog-question.png") + define_attention("warn", "dialog-warning.png") + define_attention("important", "dialog-important.png") } -function open_attention(name, image) { - return "<p class=\"special-par " name "-par\"><img src=\"/img/" image "\" class=\"special-par-icon borderless unzoomable\" alt=\"" name "\">" +function define_attention(name, image) { + define(name, "<p class=\"special-par " name "-par\"><img src=\"/img/" image "\" class=\"special-par-icon borderless unzoomable\" alt=\"" name "\">") } |