[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[lintian] 02/02: Fix a gfdl false positive in doc-linux-fr



This is an automated email from the git hooks/post-receive script.

broucaries-guest pushed a commit to branch master
in repository lintian.

commit 7105266a7f345945ad519191d6b341136d2519f4
Author: Bastien ROUCARIÈS <roucaries.bastien+debian@gmail.com>
Date:   Wed Sep 3 21:56:59 2014 +0200

    Fix a gfdl false positive in doc-linux-fr
---
 checks/cruft.pm  | 3 +++
 debian/changelog | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/checks/cruft.pm b/checks/cruft.pm
index c29e1ac..2b39599 100644
--- a/checks/cruft.pm
+++ b/checks/cruft.pm
@@ -1071,6 +1071,9 @@ sub _clean_block {
     $text =~ s{\(&fdl;\)}{ }gxsm;
     $text =~ s{&fsf;}{free software foundation}gxsm;
 
+    # non breaking space
+    $text =~ s{&nbsp;}{ }gxsm;
+
     # replace some common comment-marker/markup with space
     $text =~ s{^\.\\\"}{ }gxms;               # man comments
 
diff --git a/debian/changelog b/debian/changelog
index bf93f15..9eea14a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -16,7 +16,7 @@ lintian (2.5.26) UNRELEASED; urgency=medium
     + [BR] Add a pedantic tag for autogenerated file made by Visual
       C++.
     + [BR] Fix another false positive for gfdl invariants in
-      php-elisp and in clisp.
+      php-elisp, doc-linux-fr and in clisp.
     + [BR] Detect old path for upstream metadata.
   * checks/description.{desc,pm}:
     + [SL] Check for one word short description.  (Closes: #756643).

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git


Reply to: