Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
Commit32b30dc2de62b23a98aea3bd9332430ba5ed3eb9 (patch)
Author
 Syndamia <kamen@syndamia.com>
2025-07-21 10:48:45 +0300
Committer
 Syndamia <kamen@syndamia.com>
2025-07-21 10:48:45 +0300
Files66ae1711194e6e3f393673bf3e63ca397122c1c2
syndamia.com-32b30dc2de62b23a98aea3bd9332430ba5ed3eb9.tar
syndamia.com-32b30dc2de62b23a98aea3bd9332430ba5ed3eb9.tar.gz
syndamia.com-32b30dc2de62b23a98aea3bd9332430ba5ed3eb9.zip
Parent27e399d8e74440393383548f60276d2623986416 (diff)
fix(ext/attention): Fix format of assigned opening element
1 files changed, 5 insertions, 5 deletions
-rw-r--r--ext/attention.awk10
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 "\">")
}