From 0afd8149fbdd381e671ac55d042a8326d034821a Mon Sep 17 00:00:00 2001 From: Syndamia Date: Thu, 9 Nov 2023 10:24:29 +0200 Subject: [Icons] warn and question icons now have special formatting to make the "float" to the left Also added border for warn --- awk-edits/Icons.awk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'awk-edits/Icons.awk') diff --git a/awk-edits/Icons.awk b/awk-edits/Icons.awk index 4b3abf7..268efa2 100644 --- a/awk-edits/Icons.awk +++ b/awk-edits/Icons.awk @@ -19,8 +19,10 @@ function flagSub(name, alt) { /&&bg/ { flagSub("bg", "BGN") } function articleIconSub(name, filename) { + sub("p>&&" name, + "p class=\"special-par " name "-par\">\\&\\&" name) gsub("&&" name, - "\""") + "\""") } /&&warn/ { articleIconSub("warn", "dialog-warning.png") } -- cgit v1.3.1-26-gb76a