From d2b065b55d791aa6a50463923808c4687d91f32bac2efbeb45171fd9b8222bca Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Fri, 20 May 2016 05:20:30 +0000 Subject: [PATCH] Accepting request 393821 from devel:languages:perl:autoupdate automatic update OBS-URL: https://build.opensuse.org/request/show/393821 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTML-Strip?expand=0&rev=5 --- HTML-Strip-2.09.tar.gz | 3 --- HTML-Strip-2.10.tar.gz | 3 +++ perl-HTML-Strip.changes | 10 +++++++++ perl-HTML-Strip.spec | 46 ++++++++++++++++++++--------------------- 4 files changed, 36 insertions(+), 26 deletions(-) delete mode 100644 HTML-Strip-2.09.tar.gz create mode 100644 HTML-Strip-2.10.tar.gz diff --git a/HTML-Strip-2.09.tar.gz b/HTML-Strip-2.09.tar.gz deleted file mode 100644 index e37ce2b..0000000 --- a/HTML-Strip-2.09.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3f310370d0a677d17ca539508afb054be869b68acaec9aea239a057aa04d81d7 -size 15040 diff --git a/HTML-Strip-2.10.tar.gz b/HTML-Strip-2.10.tar.gz new file mode 100644 index 0000000..03e4cb8 --- /dev/null +++ b/HTML-Strip-2.10.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2af30a61f1ecc0bea983043c8078e48380ccb0319388a74483e09aa782f1ccfa +size 15333 diff --git a/perl-HTML-Strip.changes b/perl-HTML-Strip.changes index a3de9f0..a9f9c15 100644 --- a/perl-HTML-Strip.changes +++ b/perl-HTML-Strip.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Thu May 5 09:22:45 UTC 2016 - coolo@suse.com + +- updated to 2.10 + see /usr/share/doc/packages/perl-HTML-Strip/Changes + + 2.10 Fri Apr 22 12:16:17 BST 2016 + - fix to building on Windows / MSVC (RT#102389) + - fix duplicate DESTROY in Strip(.pm,.xs) warning (RT#104379, Debian bug #785032) + ------------------------------------------------------------------- Thu Apr 16 21:43:37 UTC 2015 - coolo@suse.com diff --git a/perl-HTML-Strip.spec b/perl-HTML-Strip.spec index 88d1e67..fbec401 100644 --- a/perl-HTML-Strip.spec +++ b/perl-HTML-Strip.spec @@ -1,7 +1,7 @@ # # spec file for package perl-HTML-Strip # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: perl-HTML-Strip -Version: 2.09 +Version: 2.10 Release: 0 %define cpan_name HTML-Strip Summary: Perl extension for stripping HTML markup from text @@ -34,43 +34,43 @@ Requires: perl(Test::Exception) %{perl_requires} %description -This module simply strips HTML-like markup from text in a very quick and -brutal manner. It could quite easily be used to strip XML or SGML from text -as well; but removing HTML markup is a much more common problem, hence this -module lives in the HTML:: namespace. +This module simply strips HTML-like markup from text rapidly and brutally. +It could easily be used to strip XML or SGML markup instead; but as +removing HTML is a much more common problem, this module lives in the +HTML:: namespace. It is written in XS, and thus about five times quicker than using regular expressions for the same task. -It does _not_ do any syntax checking (if you want that, use the -HTML::Parser manpage), instead it merely applies the following rules: +It does _not_ do any syntax checking (if you want that, use HTML::Parser), +instead it merely applies the following rules: * 1 - Anything that looks like a tag, or group of tags will be replaced with a - single space character. Tags are considered to be anything that starts - with a '<' and ends with a '>'; with the caveat that a '>' character may - appear in either of the following without ending the tag: +Anything that looks like a tag, or group of tags will be replaced with a +single space character. Tags are considered to be anything that starts with +a '<' and ends with a '>'; with the caveat that a '>' character may appear +in either of the following without ending the tag: * Quote - Quotes are considered to start with either a ''' or a '"' character, - and end with a matching character _not_ preceded by an even number or - escaping slashes (i.e. '\"' does not end the quote but '\\\\"' does). +Quotes are considered to start with either a ''' or a '"' character, and +end with a matching character _not_ preceded by an even number or escaping +slashes (i.e. '\"' does not end the quote but '\\\\"' does). * Comment - If the tag starts with an exclamation mark, it is assumed to be a - declaration or a comment. Within such tags, '>' characters do not end - the tag if they appear within pairs of double dashes (e.g. '' would be stripped completely). Inside - a comment, no parsing for quotes is done as well. (That means '' are entirely stripped.) +If the tag starts with an exclamation mark, it is assumed to be a +declaration or a comment. Within such tags, '>' characters do not end the +tag if they appear within pairs of double dashes (e.g. '' would be stripped completely). No parsing +for quotes is performed within comments, so for instance '' would be entirely stripped. * 2 - Anything the appears within so-called _strip tags_ is stripped as well. - By default, these tags are 'title', 'script', 'style' and 'applet'. +Anything the appears within what we term _strip tags_ is stripped as well. +By default, these tags are 'title', 'script', 'style' and 'applet'. HTML::Strip maintains state between calls, so you can parse a document in chunks should you wish. If one chunk ends half-way through a tag, quote,