diff options
| Commit | d2a45f0f1f4f55faac06132714a4b343e0446d21 (patch) | |
|---|---|---|
| Author | 2024-02-26 09:12:10 +0200 | |
| Committer | 2024-02-26 09:12:10 +0200 | |
| Files | 3d6fe5be9bd0bb9da23f24240702ba7cfe5605b1 | |
| syndamia.com-d2a45f0f1f4f55faac06132714a4b343e0446d21.tar syndamia.com-d2a45f0f1f4f55faac06132714a4b343e0446d21.tar.gz syndamia.com-d2a45f0f1f4f55faac06132714a4b343e0446d21.zip | ||
| Parent | 7aecc3349ae2f8d47cff60ce7ee2bf03b8432fa5 (diff) | |
(awk-edits/MEL-Presentations) Fixed centered tag not working with font size
1 files changed, 4 insertions, 2 deletions
| -rw-r--r-- | awk-edits/MEL-Presentation.awk | 6 |
diff --git a/awk-edits/MEL-Presentation.awk b/awk-edits/MEL-Presentation.awk index 43c60f9..b179502 100644 --- a/awk-edits/MEL-Presentation.awk +++ b/awk-edits/MEL-Presentation.awk @@ -21,15 +21,17 @@ BEGIN { # Tags which can exist without specified font-size for (ind in fontSizes) { - standardPresentationTag("centered" fontSizes[ind]) - fontClass = (ind != 0) ? " font" fontSizes[ind] : "" + MEL["slide" fontSizes[ind], MELOPEN] = "<div id=\"[SLIDEID]\" class=\"slide" fontClass "\">" MEL["slide" fontSizes[ind], MELCLOSE] = "</div>" MEL["middle" fontSizes[ind], MELOPEN] = "<div id=\"[SLIDEID]\" class=\"slide clide" fontClass "\"><div></div><div>" MEL["middle" fontSizes[ind], MELCLOSE] = "</div><div></div></div>" MEL["title" fontSizes[ind], MELOPEN] = "<div id=\"[SLIDEID]\" class=\"slide clide centered" fontClass "\"><div></div><div>" MEL["title" fontSizes[ind], MELCLOSE] = "</div><div></div></div>" + + MEL["centered" fontSizes[ind], MELOPEN] = "<div class=\"centered " fontClass "\">" + MEL["centered" fontSizes[ind], MELCLOSE] = "</div>" } # refer to definition of fontSizes[0] |