[debian-edu-commits] debian-edu/ 01/01: Add code to recreate alert flags (/!\).
Petter Reinholdtsen
pere at moszumanska.debian.org
Sun Jul 5 07:10:25 UTC 2015
This is an automated email from the git hooks/post-receive script.
pere pushed a commit to branch master
in repository debian-edu-itil-doc-nb.
commit 9beb6f8f7a40bae87409be7652fab9c5ca53c934
Author: Petter Reinholdtsen <pere at hungry.com>
Date: Sun Jul 5 09:09:05 2015 +0200
Add code to recreate alert flags (/!\).
---
documentation/itil/convert.pl | 3 +++
1 file changed, 3 insertions(+)
diff --git a/documentation/itil/convert.pl b/documentation/itil/convert.pl
index d2e9a95..433eb2e 100755
--- a/documentation/itil/convert.pl
+++ b/documentation/itil/convert.pl
@@ -102,6 +102,9 @@ while (($line = <$fh>)) {
# Avoid turning camelcase text into links
$line =~ s%(\b[A-Z]+[a-z]+[A-Z]+\S*\b)%!$1%g;
+ # Turn alerts into moinmoin again
+ $line =~ s%\[\[Image:https://wiki.debian.org/htdocs/debwiki/img/alert.png\|/\!\\\]\]%/!\\%g;
+
next if (u_list $line); # Unordered list
next if (o_list $line); # Ordered list
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/upstream/debian-edu-itil-doc-nb.git
More information about the debian-edu-commits
mailing list