[debian-edu-commits] debian-edu/ 03/05: Convert " too.

Petter Reinholdtsen pere at moszumanska.debian.org
Fri Oct 2 18:55:49 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 46021892282048c986dc5bf42a2e13072e17d802
Author: Petter Reinholdtsen <pere at hungry.com>
Date:   Fri Oct 2 20:12:06 2015 +0200

    Convert " too.
---
 documentation/itil/convert.pl | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/documentation/itil/convert.pl b/documentation/itil/convert.pl
index cf59cc4..6686c45 100755
--- a/documentation/itil/convert.pl
+++ b/documentation/itil/convert.pl
@@ -41,7 +41,7 @@ sub u_list {
 	return 0 unless (substr($line, 0, 1) eq '*');
 
 	my $len = count_char('*', $line);
-	print spaces($len) . "*" . substr($line, $len) . "\n";
+	print spaces($len) . "*" . filter_line(substr($line, $len)) . "\n";
 
 	return 1;
 }
@@ -53,7 +53,7 @@ sub o_list {
 	return 0 unless (substr($line, 0, 1) eq '#');
 
 	my $len = count_char('#', $line);
-	print spaces($len) . "1." . substr($line, $len) . "\n";
+	print spaces($len) . "1." . filter_line(substr($line, $len)) . "\n";
 
 	return 1;
 }
@@ -65,6 +65,7 @@ sub filter_line {
 	$line =~ s%<ref>%<<FootNote(%g;
 	$line =~ s%</ref>%)>>%g;
 	$line =~ s%<references */>%%g;
+	$line =~ s%\&quot\;%"%g;
 	return $line;
 }
 

-- 
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