[debian-edu-commits] debian-edu/ 01/02: Try to handle footnotes too.
Petter Reinholdtsen
pere at moszumanska.debian.org
Fri Apr 10 20:49:08 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 ef705b190d468edeb3ff10d5af85a4976e96f0d7
Author: Petter Reinholdtsen <pere at hungry.com>
Date: Fri Apr 10 22:47:39 2015 +0200
Try to handle footnotes too.
---
documentation/itil/convert.pl | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/documentation/itil/convert.pl b/documentation/itil/convert.pl
index 3676d66..a81f58e 100755
--- a/documentation/itil/convert.pl
+++ b/documentation/itil/convert.pl
@@ -94,6 +94,10 @@ while (($line = <$fh>)) {
$line =~ s%<code>%`%g;
$line =~ s%</code>%`%g;
+ # Footnotes have completely different notation
+ $line =~ s%<ref>%<<FootNote(%g;
+ $line =~ s%</ref>%)>>%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