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
This commit is contained in:
committed by
Git OBS Bridge
parent
1cc7968644
commit
d2b065b55d
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:3f310370d0a677d17ca539508afb054be869b68acaec9aea239a057aa04d81d7
|
|
||||||
size 15040
|
|
3
HTML-Strip-2.10.tar.gz
Normal file
3
HTML-Strip-2.10.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:2af30a61f1ecc0bea983043c8078e48380ccb0319388a74483e09aa782f1ccfa
|
||||||
|
size 15333
|
@@ -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
|
Thu Apr 16 21:43:37 UTC 2015 - coolo@suse.com
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-HTML-Strip
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: perl-HTML-Strip
|
Name: perl-HTML-Strip
|
||||||
Version: 2.09
|
Version: 2.10
|
||||||
Release: 0
|
Release: 0
|
||||||
%define cpan_name HTML-Strip
|
%define cpan_name HTML-Strip
|
||||||
Summary: Perl extension for stripping HTML markup from text
|
Summary: Perl extension for stripping HTML markup from text
|
||||||
@@ -34,42 +34,42 @@ Requires: perl(Test::Exception)
|
|||||||
%{perl_requires}
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This module simply strips HTML-like markup from text in a very quick and
|
This module simply strips HTML-like markup from text rapidly and brutally.
|
||||||
brutal manner. It could quite easily be used to strip XML or SGML from text
|
It could easily be used to strip XML or SGML markup instead; but as
|
||||||
as well; but removing HTML markup is a much more common problem, hence this
|
removing HTML is a much more common problem, this module lives in the
|
||||||
module lives in the HTML:: namespace.
|
HTML:: namespace.
|
||||||
|
|
||||||
It is written in XS, and thus about five times quicker than using regular
|
It is written in XS, and thus about five times quicker than using regular
|
||||||
expressions for the same task.
|
expressions for the same task.
|
||||||
|
|
||||||
It does _not_ do any syntax checking (if you want that, use the
|
It does _not_ do any syntax checking (if you want that, use HTML::Parser),
|
||||||
HTML::Parser manpage), instead it merely applies the following rules:
|
instead it merely applies the following rules:
|
||||||
|
|
||||||
* 1
|
* 1
|
||||||
|
|
||||||
Anything that looks like a tag, or group of tags will be replaced with a
|
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
|
single space character. Tags are considered to be anything that starts with
|
||||||
with a '<' and ends with a '>'; with the caveat that a '>' character may
|
a '<' and ends with a '>'; with the caveat that a '>' character may appear
|
||||||
appear in either of the following without ending the tag:
|
in either of the following without ending the tag:
|
||||||
|
|
||||||
* Quote
|
* Quote
|
||||||
|
|
||||||
Quotes are considered to start with either a ''' or a '"' character,
|
Quotes are considered to start with either a ''' or a '"' character, and
|
||||||
and end with a matching character _not_ preceded by an even number or
|
end with a matching character _not_ preceded by an even number or escaping
|
||||||
escaping slashes (i.e. '\"' does not end the quote but '\\\\"' does).
|
slashes (i.e. '\"' does not end the quote but '\\\\"' does).
|
||||||
|
|
||||||
* Comment
|
* Comment
|
||||||
|
|
||||||
If the tag starts with an exclamation mark, it is assumed to be a
|
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
|
declaration or a comment. Within such tags, '>' characters do not end the
|
||||||
the tag if they appear within pairs of double dashes (e.g. '<!-- <a
|
tag if they appear within pairs of double dashes (e.g. '<!-- <a
|
||||||
href="old.htm">old page</a> -->' would be stripped completely). Inside
|
href="old.htm">old page</a> -->' would be stripped completely). No parsing
|
||||||
a comment, no parsing for quotes is done as well. (That means '<!--
|
for quotes is performed within comments, so for instance '<!-- comment with
|
||||||
comment with ' quote " -->' are entirely stripped.)
|
both ' quote types " -->' would be entirely stripped.
|
||||||
|
|
||||||
* 2
|
* 2
|
||||||
|
|
||||||
Anything the appears within so-called _strip tags_ is stripped as well.
|
Anything the appears within what we term _strip tags_ is stripped as well.
|
||||||
By default, these tags are 'title', 'script', 'style' and 'applet'.
|
By default, these tags are 'title', 'script', 'style' and 'applet'.
|
||||||
|
|
||||||
HTML::Strip maintains state between calls, so you can parse a document in
|
HTML::Strip maintains state between calls, so you can parse a document in
|
||||||
|
Reference in New Issue
Block a user