New upstream release.
Debian Janitor
1 year, 1 day ago
9 | 9 | * Ben Bullock |
10 | 10 | * Clayton Cottingham |
11 | 11 | * David Golden |
12 | * E. Choroba | |
12 | 13 | * Fitz Elliott |
13 | 14 | * Graham Knop |
14 | 15 | * Graham TerMarsch |
0 | 0 | Revision history for HTML-Restrict |
1 | ||
2 | v3.0.2 2023-04-23 17:06:28Z | |
3 | - Add create_newlines to replace BR and P by 1, resp. 2 newlines | |
4 | (GH#46) (E. Choroba) | |
1 | 5 | |
2 | 6 | v3.0.1 2022-09-22 22:27:40Z |
3 | 7 | - Add a filter_text attribute. This can be used to disable text |
0 | # This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.025. | |
0 | # This file was automatically generated by Dist::Zilla::Plugin::Manifest v6.030. | |
1 | 1 | CONTRIBUTORS |
2 | 2 | Changes |
3 | 3 | INSTALL |
22 | 22 | t/attribute_constraints.t |
23 | 23 | t/comments.t |
24 | 24 | t/control-characters.t |
25 | t/create-newlines.t | |
25 | 26 | t/declaration.t |
26 | 27 | t/empty-element-tags.t |
27 | 28 | t/filter_text.t |
3 | 3 | "Olaf Alders <olaf@wundercounter.com>" |
4 | 4 | ], |
5 | 5 | "dynamic_config" : 0, |
6 | "generated_by" : "Dist::Zilla version 6.025, CPAN::Meta::Converter version 2.150010", | |
6 | "generated_by" : "Dist::Zilla version 6.030, CPAN::Meta::Converter version 2.150010", | |
7 | 7 | "license" : [ |
8 | 8 | "perl_5" |
9 | 9 | ], |
100 | 100 | "web" : "https://github.com/oalders/html-restrict" |
101 | 101 | } |
102 | 102 | }, |
103 | "version" : "v3.0.1", | |
103 | "version" : "v3.0.2", | |
104 | 104 | "x_Dist_Zilla" : { |
105 | 105 | "perl" : { |
106 | 106 | "version" : "5.036000" |
141 | 141 | { |
142 | 142 | "class" : "Dist::Zilla::Plugin::AutoPrereqs", |
143 | 143 | "name" : "@Author::OALDERS/AutoPrereqs", |
144 | "version" : "6.025" | |
144 | "version" : "6.030" | |
145 | 145 | }, |
146 | 146 | { |
147 | 147 | "class" : "Dist::Zilla::Plugin::CheckChangesHasContent", |
156 | 156 | } |
157 | 157 | }, |
158 | 158 | "name" : "@Author::OALDERS/MakeMaker", |
159 | "version" : "6.025" | |
159 | "version" : "6.030" | |
160 | 160 | }, |
161 | 161 | { |
162 | 162 | "class" : "Dist::Zilla::Plugin::CPANFile", |
163 | 163 | "name" : "@Author::OALDERS/CPANFile", |
164 | "version" : "6.025" | |
164 | "version" : "6.030" | |
165 | 165 | }, |
166 | 166 | { |
167 | 167 | "class" : "Dist::Zilla::Plugin::ContributorsFile", |
171 | 171 | { |
172 | 172 | "class" : "Dist::Zilla::Plugin::MetaJSON", |
173 | 173 | "name" : "@Author::OALDERS/MetaJSON", |
174 | "version" : "6.025" | |
174 | "version" : "6.030" | |
175 | 175 | }, |
176 | 176 | { |
177 | 177 | "class" : "Dist::Zilla::Plugin::MetaYAML", |
178 | 178 | "name" : "@Author::OALDERS/MetaYAML", |
179 | "version" : "6.025" | |
179 | "version" : "6.030" | |
180 | 180 | }, |
181 | 181 | { |
182 | 182 | "class" : "Dist::Zilla::Plugin::Manifest", |
183 | 183 | "name" : "@Author::OALDERS/Manifest", |
184 | "version" : "6.025" | |
184 | "version" : "6.030" | |
185 | 185 | }, |
186 | 186 | { |
187 | 187 | "class" : "Dist::Zilla::Plugin::MetaNoIndex", |
188 | 188 | "name" : "@Author::OALDERS/MetaNoIndex", |
189 | "version" : "6.025" | |
189 | "version" : "6.030" | |
190 | 190 | }, |
191 | 191 | { |
192 | 192 | "class" : "Dist::Zilla::Plugin::MetaConfig", |
193 | 193 | "name" : "@Author::OALDERS/MetaConfig", |
194 | "version" : "6.025" | |
194 | "version" : "6.030" | |
195 | 195 | }, |
196 | 196 | { |
197 | 197 | "class" : "Dist::Zilla::Plugin::MetaResources", |
198 | 198 | "name" : "@Author::OALDERS/MetaResources", |
199 | "version" : "6.025" | |
199 | "version" : "6.030" | |
200 | 200 | }, |
201 | 201 | { |
202 | 202 | "class" : "Dist::Zilla::Plugin::License", |
203 | 203 | "name" : "@Author::OALDERS/License", |
204 | "version" : "6.025" | |
204 | "version" : "6.030" | |
205 | 205 | }, |
206 | 206 | { |
207 | 207 | "class" : "Dist::Zilla::Plugin::InstallGuide", |
223 | 223 | } |
224 | 224 | }, |
225 | 225 | "name" : "@Author::OALDERS/Modules for use with tidyall", |
226 | "version" : "6.025" | |
226 | "version" : "6.030" | |
227 | 227 | }, |
228 | 228 | { |
229 | 229 | "class" : "Dist::Zilla::Plugin::ExecDir", |
230 | 230 | "name" : "@Author::OALDERS/ExecDir", |
231 | "version" : "6.025" | |
231 | "version" : "6.030" | |
232 | 232 | }, |
233 | 233 | { |
234 | 234 | "class" : "Dist::Zilla::Plugin::Test::PodSpelling", |
255 | 255 | "TerMarsch", |
256 | 256 | "XSS", |
257 | 257 | "bolded", |
258 | "br", | |
258 | 259 | "fREW", |
259 | 260 | "href", |
260 | 261 | "img", |
281 | 282 | { |
282 | 283 | "class" : "Dist::Zilla::Plugin::PodSyntaxTests", |
283 | 284 | "name" : "@Author::OALDERS/PodSyntaxTests", |
284 | "version" : "6.025" | |
285 | "version" : "6.030" | |
285 | 286 | }, |
286 | 287 | { |
287 | 288 | "class" : "Dist::Zilla::Plugin::Test::CPAN::Changes", |
327 | 328 | { |
328 | 329 | "class" : "Dist::Zilla::Plugin::TestRelease", |
329 | 330 | "name" : "@Author::OALDERS/TestRelease", |
330 | "version" : "6.025" | |
331 | "version" : "6.030" | |
331 | 332 | }, |
332 | 333 | { |
333 | 334 | "class" : "Dist::Zilla::Plugin::Test::ReportPrereqs", |
334 | 335 | "name" : "@Author::OALDERS/Test::ReportPrereqs", |
335 | "version" : "0.028" | |
336 | "version" : "0.029" | |
336 | 337 | }, |
337 | 338 | { |
338 | 339 | "class" : "Dist::Zilla::Plugin::Test::Synopsis", |
370 | 371 | "Dist::Zilla::Plugin::PodWeaver" : { |
371 | 372 | "finder" : [ |
372 | 373 | ":InstallModules", |
373 | ":ExecFiles" | |
374 | ":PerlExecFiles" | |
374 | 375 | ], |
375 | 376 | "plugins" : [ |
376 | 377 | { |
377 | 378 | "class" : "Pod::Weaver::Plugin::EnsurePod5", |
378 | 379 | "name" : "@CorePrep/EnsurePod5", |
379 | "version" : "4.018" | |
380 | "version" : "4.019" | |
380 | 381 | }, |
381 | 382 | { |
382 | 383 | "class" : "Pod::Weaver::Plugin::H1Nester", |
383 | 384 | "name" : "@CorePrep/H1Nester", |
384 | "version" : "4.018" | |
385 | "version" : "4.019" | |
385 | 386 | }, |
386 | 387 | { |
387 | 388 | "class" : "Pod::Weaver::Plugin::SingleEncoding", |
388 | 389 | "name" : "@Default/SingleEncoding", |
389 | "version" : "4.018" | |
390 | "version" : "4.019" | |
390 | 391 | }, |
391 | 392 | { |
392 | 393 | "class" : "Pod::Weaver::Section::Name", |
393 | 394 | "name" : "@Default/Name", |
394 | "version" : "4.018" | |
395 | "version" : "4.019" | |
395 | 396 | }, |
396 | 397 | { |
397 | 398 | "class" : "Pod::Weaver::Section::Version", |
398 | 399 | "name" : "@Default/Version", |
399 | "version" : "4.018" | |
400 | "version" : "4.019" | |
400 | 401 | }, |
401 | 402 | { |
402 | 403 | "class" : "Pod::Weaver::Section::Region", |
403 | 404 | "name" : "@Default/prelude", |
404 | "version" : "4.018" | |
405 | "version" : "4.019" | |
405 | 406 | }, |
406 | 407 | { |
407 | 408 | "class" : "Pod::Weaver::Section::Generic", |
408 | 409 | "name" : "SYNOPSIS", |
409 | "version" : "4.018" | |
410 | "version" : "4.019" | |
410 | 411 | }, |
411 | 412 | { |
412 | 413 | "class" : "Pod::Weaver::Section::Generic", |
413 | 414 | "name" : "DESCRIPTION", |
414 | "version" : "4.018" | |
415 | "version" : "4.019" | |
415 | 416 | }, |
416 | 417 | { |
417 | 418 | "class" : "Pod::Weaver::Section::Generic", |
418 | 419 | "name" : "OVERVIEW", |
419 | "version" : "4.018" | |
420 | "version" : "4.019" | |
420 | 421 | }, |
421 | 422 | { |
422 | 423 | "class" : "Pod::Weaver::Section::Collect", |
423 | 424 | "name" : "ATTRIBUTES", |
424 | "version" : "4.018" | |
425 | "version" : "4.019" | |
425 | 426 | }, |
426 | 427 | { |
427 | 428 | "class" : "Pod::Weaver::Section::Collect", |
428 | 429 | "name" : "METHODS", |
429 | "version" : "4.018" | |
430 | "version" : "4.019" | |
430 | 431 | }, |
431 | 432 | { |
432 | 433 | "class" : "Pod::Weaver::Section::Collect", |
433 | 434 | "name" : "FUNCTIONS", |
434 | "version" : "4.018" | |
435 | "version" : "4.019" | |
435 | 436 | }, |
436 | 437 | { |
437 | 438 | "class" : "Pod::Weaver::Section::Leftovers", |
438 | 439 | "name" : "@Default/Leftovers", |
439 | "version" : "4.018" | |
440 | "version" : "4.019" | |
440 | 441 | }, |
441 | 442 | { |
442 | 443 | "class" : "Pod::Weaver::Section::Region", |
443 | 444 | "name" : "@Default/postlude", |
444 | "version" : "4.018" | |
445 | "version" : "4.019" | |
445 | 446 | }, |
446 | 447 | { |
447 | 448 | "class" : "Pod::Weaver::Section::Authors", |
448 | 449 | "name" : "@Default/Authors", |
449 | "version" : "4.018" | |
450 | "version" : "4.019" | |
450 | 451 | }, |
451 | 452 | { |
452 | 453 | "class" : "Pod::Weaver::Section::Legal", |
453 | 454 | "name" : "@Default/Legal", |
454 | "version" : "4.018" | |
455 | "version" : "4.019" | |
455 | 456 | } |
456 | 457 | ] |
457 | 458 | } |
458 | 459 | }, |
459 | 460 | "name" : "@Author::OALDERS/PodWeaver", |
460 | "version" : "4.009" | |
461 | "version" : "4.010" | |
461 | 462 | }, |
462 | 463 | { |
463 | 464 | "class" : "Dist::Zilla::Plugin::PruneCruft", |
464 | 465 | "name" : "@Author::OALDERS/PruneCruft", |
465 | "version" : "6.025" | |
466 | "version" : "6.030" | |
466 | 467 | }, |
467 | 468 | { |
468 | 469 | "class" : "Dist::Zilla::Plugin::CopyFilesFromBuild", |
534 | 535 | "changelog" : "Changes" |
535 | 536 | }, |
536 | 537 | "Dist::Zilla::Role::Git::Repo" : { |
537 | "git_version" : "2.37.3", | |
538 | "git_version" : "2.40.0", | |
538 | 539 | "repo_root" : "." |
539 | 540 | } |
540 | 541 | }, |
545 | 546 | "class" : "Dist::Zilla::Plugin::Git::Contributors", |
546 | 547 | "config" : { |
547 | 548 | "Dist::Zilla::Plugin::Git::Contributors" : { |
548 | "git_version" : "2.37.3", | |
549 | "git_version" : "2.40.0", | |
549 | 550 | "include_authors" : 0, |
550 | 551 | "include_releaser" : 1, |
551 | 552 | "order_by" : "name", |
579 | 580 | { |
580 | 581 | "class" : "Dist::Zilla::Plugin::ShareDir", |
581 | 582 | "name" : "@Author::OALDERS/ShareDir", |
582 | "version" : "6.025" | |
583 | "version" : "6.030" | |
583 | 584 | }, |
584 | 585 | { |
585 | 586 | "class" : "Dist::Zilla::Plugin::CheckIssues", |
589 | 590 | { |
590 | 591 | "class" : "Dist::Zilla::Plugin::ConfirmRelease", |
591 | 592 | "name" : "@Author::OALDERS/ConfirmRelease", |
592 | "version" : "6.025" | |
593 | "version" : "6.030" | |
593 | 594 | }, |
594 | 595 | { |
595 | 596 | "class" : "Dist::Zilla::Plugin::UploadToCPAN", |
596 | 597 | "name" : "@Author::OALDERS/UploadToCPAN", |
597 | "version" : "6.025" | |
598 | "version" : "6.030" | |
598 | 599 | }, |
599 | 600 | { |
600 | 601 | "class" : "Dist::Zilla::Plugin::Prereqs", |
605 | 606 | } |
606 | 607 | }, |
607 | 608 | "name" : "@Author::OALDERS/@Git::VersionManager/pluginbundle version", |
608 | "version" : "6.025" | |
609 | "version" : "6.030" | |
609 | 610 | }, |
610 | 611 | { |
611 | 612 | "class" : "Dist::Zilla::Plugin::RewriteVersion::Transitional", |
665 | 666 | "changelog" : "Changes" |
666 | 667 | }, |
667 | 668 | "Dist::Zilla::Role::Git::Repo" : { |
668 | "git_version" : "2.37.3", | |
669 | "git_version" : "2.40.0", | |
669 | 670 | "repo_root" : "." |
670 | 671 | }, |
671 | 672 | "Dist::Zilla::Role::Git::StringFormatter" : { |
682 | 683 | "branch" : null, |
683 | 684 | "changelog" : "Changes", |
684 | 685 | "signed" : 0, |
685 | "tag" : "v3.0.1", | |
686 | "tag" : "v3.0.2", | |
686 | 687 | "tag_format" : "v%V", |
687 | 688 | "tag_message" : "v%V" |
688 | 689 | }, |
689 | 690 | "Dist::Zilla::Role::Git::Repo" : { |
690 | "git_version" : "2.37.3", | |
691 | "git_version" : "2.40.0", | |
691 | 692 | "repo_root" : "." |
692 | 693 | }, |
693 | 694 | "Dist::Zilla::Role::Git::StringFormatter" : { |
716 | 717 | { |
717 | 718 | "class" : "Dist::Zilla::Plugin::NextRelease", |
718 | 719 | "name" : "@Author::OALDERS/@Git::VersionManager/NextRelease", |
719 | "version" : "6.025" | |
720 | "version" : "6.030" | |
720 | 721 | }, |
721 | 722 | { |
722 | 723 | "class" : "Dist::Zilla::Plugin::Git::Commit", |
738 | 739 | "changelog" : "Changes" |
739 | 740 | }, |
740 | 741 | "Dist::Zilla::Role::Git::Repo" : { |
741 | "git_version" : "2.37.3", | |
742 | "git_version" : "2.40.0", | |
742 | 743 | "repo_root" : "." |
743 | 744 | }, |
744 | 745 | "Dist::Zilla::Role::Git::StringFormatter" : { |
758 | 759 | "remotes_must_exist" : 1 |
759 | 760 | }, |
760 | 761 | "Dist::Zilla::Role::Git::Repo" : { |
761 | "git_version" : "2.37.3", | |
762 | "git_version" : "2.40.0", | |
762 | 763 | "repo_root" : "." |
763 | 764 | } |
764 | 765 | }, |
774 | 775 | } |
775 | 776 | }, |
776 | 777 | "name" : "Prereqs", |
777 | "version" : "6.025" | |
778 | "version" : "6.030" | |
778 | 779 | }, |
779 | 780 | { |
780 | 781 | "class" : "Dist::Zilla::Plugin::Prereqs", |
785 | 786 | } |
786 | 787 | }, |
787 | 788 | "name" : "TestRequires", |
788 | "version" : "6.025" | |
789 | "version" : "6.030" | |
789 | 790 | }, |
790 | 791 | { |
791 | 792 | "class" : "Dist::Zilla::Plugin::FinderCode", |
792 | 793 | "name" : ":InstallModules", |
793 | "version" : "6.025" | |
794 | "version" : "6.030" | |
794 | 795 | }, |
795 | 796 | { |
796 | 797 | "class" : "Dist::Zilla::Plugin::FinderCode", |
797 | 798 | "name" : ":IncModules", |
798 | "version" : "6.025" | |
799 | "version" : "6.030" | |
799 | 800 | }, |
800 | 801 | { |
801 | 802 | "class" : "Dist::Zilla::Plugin::FinderCode", |
802 | 803 | "name" : ":TestFiles", |
803 | "version" : "6.025" | |
804 | "version" : "6.030" | |
804 | 805 | }, |
805 | 806 | { |
806 | 807 | "class" : "Dist::Zilla::Plugin::FinderCode", |
807 | 808 | "name" : ":ExtraTestFiles", |
808 | "version" : "6.025" | |
809 | "version" : "6.030" | |
809 | 810 | }, |
810 | 811 | { |
811 | 812 | "class" : "Dist::Zilla::Plugin::FinderCode", |
812 | 813 | "name" : ":ExecFiles", |
813 | "version" : "6.025" | |
814 | "version" : "6.030" | |
814 | 815 | }, |
815 | 816 | { |
816 | 817 | "class" : "Dist::Zilla::Plugin::FinderCode", |
817 | 818 | "name" : ":PerlExecFiles", |
818 | "version" : "6.025" | |
819 | "version" : "6.030" | |
819 | 820 | }, |
820 | 821 | { |
821 | 822 | "class" : "Dist::Zilla::Plugin::FinderCode", |
822 | 823 | "name" : ":ShareFiles", |
823 | "version" : "6.025" | |
824 | "version" : "6.030" | |
824 | 825 | }, |
825 | 826 | { |
826 | 827 | "class" : "Dist::Zilla::Plugin::FinderCode", |
827 | 828 | "name" : ":MainModule", |
828 | "version" : "6.025" | |
829 | "version" : "6.030" | |
829 | 830 | }, |
830 | 831 | { |
831 | 832 | "class" : "Dist::Zilla::Plugin::FinderCode", |
832 | 833 | "name" : ":AllFiles", |
833 | "version" : "6.025" | |
834 | "version" : "6.030" | |
834 | 835 | }, |
835 | 836 | { |
836 | 837 | "class" : "Dist::Zilla::Plugin::FinderCode", |
837 | 838 | "name" : ":NoFiles", |
838 | "version" : "6.025" | |
839 | "version" : "6.030" | |
839 | 840 | } |
840 | 841 | ], |
841 | 842 | "zilla" : { |
843 | 844 | "config" : { |
844 | 845 | "is_trial" : 0 |
845 | 846 | }, |
846 | "version" : "6.025" | |
847 | "version" : "6.030" | |
847 | 848 | } |
848 | 849 | }, |
849 | 850 | "x_contributors" : [ |
851 | 852 | "Ben Bullock <benkasminbullock@gmail.com>", |
852 | 853 | "Clayton Cottingham <ccottingham@presinet.com>", |
853 | 854 | "David Golden <dagolden@cpan.org>", |
855 | "E. Choroba <choroba@users.noreply.github.com>", | |
854 | 856 | "Fitz Elliott <fitz.elliott@gmail.com>", |
855 | 857 | "Graham Knop <haarg@haarg.org>", |
856 | 858 | "Graham TerMarsch <graham@howlingfrog.com>", |
861 | 863 | "skaufman <sam@socialflow.com>" |
862 | 864 | ], |
863 | 865 | "x_generated_by_perl" : "v5.36.0", |
864 | "x_serialization_backend" : "Cpanel::JSON::XS version 4.29", | |
866 | "x_serialization_backend" : "Cpanel::JSON::XS version 4.36", | |
865 | 867 | "x_spdx_expression" : "Artistic-1.0-Perl OR GPL-1.0-or-later" |
866 | 868 | } |
867 | 869 |
12 | 12 | ExtUtils::MakeMaker: '0' |
13 | 13 | perl: '5.006' |
14 | 14 | dynamic_config: 0 |
15 | generated_by: 'Dist::Zilla version 6.025, CPAN::Meta::Converter version 2.150010' | |
15 | generated_by: 'Dist::Zilla version 6.030, CPAN::Meta::Converter version 2.150010' | |
16 | 16 | license: perl |
17 | 17 | meta-spec: |
18 | 18 | url: http://module-build.sourceforge.net/META-spec-v1.4.html |
43 | 43 | bugtracker: https://github.com/oalders/html-restrict/issues |
44 | 44 | homepage: https://github.com/oalders/html-restrict |
45 | 45 | repository: https://github.com/oalders/html-restrict.git |
46 | version: v3.0.1 | |
46 | version: v3.0.2 | |
47 | 47 | x_Dist_Zilla: |
48 | 48 | perl: |
49 | 49 | version: '5.036000' |
76 | 76 | - |
77 | 77 | class: Dist::Zilla::Plugin::AutoPrereqs |
78 | 78 | name: '@Author::OALDERS/AutoPrereqs' |
79 | version: '6.025' | |
79 | version: '6.030' | |
80 | 80 | - |
81 | 81 | class: Dist::Zilla::Plugin::CheckChangesHasContent |
82 | 82 | name: '@Author::OALDERS/CheckChangesHasContent' |
87 | 87 | Dist::Zilla::Role::TestRunner: |
88 | 88 | default_jobs: '8' |
89 | 89 | name: '@Author::OALDERS/MakeMaker' |
90 | version: '6.025' | |
90 | version: '6.030' | |
91 | 91 | - |
92 | 92 | class: Dist::Zilla::Plugin::CPANFile |
93 | 93 | name: '@Author::OALDERS/CPANFile' |
94 | version: '6.025' | |
94 | version: '6.030' | |
95 | 95 | - |
96 | 96 | class: Dist::Zilla::Plugin::ContributorsFile |
97 | 97 | name: '@Author::OALDERS/ContributorsFile' |
99 | 99 | - |
100 | 100 | class: Dist::Zilla::Plugin::MetaJSON |
101 | 101 | name: '@Author::OALDERS/MetaJSON' |
102 | version: '6.025' | |
102 | version: '6.030' | |
103 | 103 | - |
104 | 104 | class: Dist::Zilla::Plugin::MetaYAML |
105 | 105 | name: '@Author::OALDERS/MetaYAML' |
106 | version: '6.025' | |
106 | version: '6.030' | |
107 | 107 | - |
108 | 108 | class: Dist::Zilla::Plugin::Manifest |
109 | 109 | name: '@Author::OALDERS/Manifest' |
110 | version: '6.025' | |
110 | version: '6.030' | |
111 | 111 | - |
112 | 112 | class: Dist::Zilla::Plugin::MetaNoIndex |
113 | 113 | name: '@Author::OALDERS/MetaNoIndex' |
114 | version: '6.025' | |
114 | version: '6.030' | |
115 | 115 | - |
116 | 116 | class: Dist::Zilla::Plugin::MetaConfig |
117 | 117 | name: '@Author::OALDERS/MetaConfig' |
118 | version: '6.025' | |
118 | version: '6.030' | |
119 | 119 | - |
120 | 120 | class: Dist::Zilla::Plugin::MetaResources |
121 | 121 | name: '@Author::OALDERS/MetaResources' |
122 | version: '6.025' | |
122 | version: '6.030' | |
123 | 123 | - |
124 | 124 | class: Dist::Zilla::Plugin::License |
125 | 125 | name: '@Author::OALDERS/License' |
126 | version: '6.025' | |
126 | version: '6.030' | |
127 | 127 | - |
128 | 128 | class: Dist::Zilla::Plugin::InstallGuide |
129 | 129 | config: |
139 | 139 | phase: develop |
140 | 140 | type: requires |
141 | 141 | name: '@Author::OALDERS/Modules for use with tidyall' |
142 | version: '6.025' | |
142 | version: '6.030' | |
143 | 143 | - |
144 | 144 | class: Dist::Zilla::Plugin::ExecDir |
145 | 145 | name: '@Author::OALDERS/ExecDir' |
146 | version: '6.025' | |
146 | version: '6.030' | |
147 | 147 | - |
148 | 148 | class: Dist::Zilla::Plugin::Test::PodSpelling |
149 | 149 | config: |
168 | 168 | - TerMarsch |
169 | 169 | - XSS |
170 | 170 | - bolded |
171 | - br | |
171 | 172 | - fREW |
172 | 173 | - href |
173 | 174 | - img |
189 | 190 | - |
190 | 191 | class: Dist::Zilla::Plugin::PodSyntaxTests |
191 | 192 | name: '@Author::OALDERS/PodSyntaxTests' |
192 | version: '6.025' | |
193 | version: '6.030' | |
193 | 194 | - |
194 | 195 | class: Dist::Zilla::Plugin::Test::CPAN::Changes |
195 | 196 | config: |
223 | 224 | - |
224 | 225 | class: Dist::Zilla::Plugin::TestRelease |
225 | 226 | name: '@Author::OALDERS/TestRelease' |
226 | version: '6.025' | |
227 | version: '6.030' | |
227 | 228 | - |
228 | 229 | class: Dist::Zilla::Plugin::Test::ReportPrereqs |
229 | 230 | name: '@Author::OALDERS/Test::ReportPrereqs' |
230 | version: '0.028' | |
231 | version: '0.029' | |
231 | 232 | - |
232 | 233 | class: Dist::Zilla::Plugin::Test::Synopsis |
233 | 234 | name: '@Author::OALDERS/Test::Synopsis' |
257 | 258 | Dist::Zilla::Plugin::PodWeaver: |
258 | 259 | finder: |
259 | 260 | - ':InstallModules' |
260 | - ':ExecFiles' | |
261 | - ':PerlExecFiles' | |
261 | 262 | plugins: |
262 | 263 | - |
263 | 264 | class: Pod::Weaver::Plugin::EnsurePod5 |
264 | 265 | name: '@CorePrep/EnsurePod5' |
265 | version: '4.018' | |
266 | version: '4.019' | |
266 | 267 | - |
267 | 268 | class: Pod::Weaver::Plugin::H1Nester |
268 | 269 | name: '@CorePrep/H1Nester' |
269 | version: '4.018' | |
270 | version: '4.019' | |
270 | 271 | - |
271 | 272 | class: Pod::Weaver::Plugin::SingleEncoding |
272 | 273 | name: '@Default/SingleEncoding' |
273 | version: '4.018' | |
274 | version: '4.019' | |
274 | 275 | - |
275 | 276 | class: Pod::Weaver::Section::Name |
276 | 277 | name: '@Default/Name' |
277 | version: '4.018' | |
278 | version: '4.019' | |
278 | 279 | - |
279 | 280 | class: Pod::Weaver::Section::Version |
280 | 281 | name: '@Default/Version' |
281 | version: '4.018' | |
282 | version: '4.019' | |
282 | 283 | - |
283 | 284 | class: Pod::Weaver::Section::Region |
284 | 285 | name: '@Default/prelude' |
285 | version: '4.018' | |
286 | version: '4.019' | |
286 | 287 | - |
287 | 288 | class: Pod::Weaver::Section::Generic |
288 | 289 | name: SYNOPSIS |
289 | version: '4.018' | |
290 | version: '4.019' | |
290 | 291 | - |
291 | 292 | class: Pod::Weaver::Section::Generic |
292 | 293 | name: DESCRIPTION |
293 | version: '4.018' | |
294 | version: '4.019' | |
294 | 295 | - |
295 | 296 | class: Pod::Weaver::Section::Generic |
296 | 297 | name: OVERVIEW |
297 | version: '4.018' | |
298 | version: '4.019' | |
298 | 299 | - |
299 | 300 | class: Pod::Weaver::Section::Collect |
300 | 301 | name: ATTRIBUTES |
301 | version: '4.018' | |
302 | version: '4.019' | |
302 | 303 | - |
303 | 304 | class: Pod::Weaver::Section::Collect |
304 | 305 | name: METHODS |
305 | version: '4.018' | |
306 | version: '4.019' | |
306 | 307 | - |
307 | 308 | class: Pod::Weaver::Section::Collect |
308 | 309 | name: FUNCTIONS |
309 | version: '4.018' | |
310 | version: '4.019' | |
310 | 311 | - |
311 | 312 | class: Pod::Weaver::Section::Leftovers |
312 | 313 | name: '@Default/Leftovers' |
313 | version: '4.018' | |
314 | version: '4.019' | |
314 | 315 | - |
315 | 316 | class: Pod::Weaver::Section::Region |
316 | 317 | name: '@Default/postlude' |
317 | version: '4.018' | |
318 | version: '4.019' | |
318 | 319 | - |
319 | 320 | class: Pod::Weaver::Section::Authors |
320 | 321 | name: '@Default/Authors' |
321 | version: '4.018' | |
322 | version: '4.019' | |
322 | 323 | - |
323 | 324 | class: Pod::Weaver::Section::Legal |
324 | 325 | name: '@Default/Legal' |
325 | version: '4.018' | |
326 | version: '4.019' | |
326 | 327 | name: '@Author::OALDERS/PodWeaver' |
327 | version: '4.009' | |
328 | version: '4.010' | |
328 | 329 | - |
329 | 330 | class: Dist::Zilla::Plugin::PruneCruft |
330 | 331 | name: '@Author::OALDERS/PruneCruft' |
331 | version: '6.025' | |
332 | version: '6.030' | |
332 | 333 | - |
333 | 334 | class: Dist::Zilla::Plugin::CopyFilesFromBuild |
334 | 335 | name: '@Author::OALDERS/CopyFilesFromBuild' |
385 | 386 | allow_dirty_match: [] |
386 | 387 | changelog: Changes |
387 | 388 | Dist::Zilla::Role::Git::Repo: |
388 | git_version: 2.37.3 | |
389 | git_version: 2.40.0 | |
389 | 390 | repo_root: . |
390 | 391 | name: '@Author::OALDERS/Git::Check' |
391 | 392 | version: '2.048' |
393 | 394 | class: Dist::Zilla::Plugin::Git::Contributors |
394 | 395 | config: |
395 | 396 | Dist::Zilla::Plugin::Git::Contributors: |
396 | git_version: 2.37.3 | |
397 | git_version: 2.40.0 | |
397 | 398 | include_authors: 0 |
398 | 399 | include_releaser: 1 |
399 | 400 | order_by: name |
418 | 419 | - |
419 | 420 | class: Dist::Zilla::Plugin::ShareDir |
420 | 421 | name: '@Author::OALDERS/ShareDir' |
421 | version: '6.025' | |
422 | version: '6.030' | |
422 | 423 | - |
423 | 424 | class: Dist::Zilla::Plugin::CheckIssues |
424 | 425 | name: '@Author::OALDERS/CheckIssues' |
426 | 427 | - |
427 | 428 | class: Dist::Zilla::Plugin::ConfirmRelease |
428 | 429 | name: '@Author::OALDERS/ConfirmRelease' |
429 | version: '6.025' | |
430 | version: '6.030' | |
430 | 431 | - |
431 | 432 | class: Dist::Zilla::Plugin::UploadToCPAN |
432 | 433 | name: '@Author::OALDERS/UploadToCPAN' |
433 | version: '6.025' | |
434 | version: '6.030' | |
434 | 435 | - |
435 | 436 | class: Dist::Zilla::Plugin::Prereqs |
436 | 437 | config: |
438 | 439 | phase: develop |
439 | 440 | type: recommends |
440 | 441 | name: '@Author::OALDERS/@Git::VersionManager/pluginbundle version' |
441 | version: '6.025' | |
442 | version: '6.030' | |
442 | 443 | - |
443 | 444 | class: Dist::Zilla::Plugin::RewriteVersion::Transitional |
444 | 445 | config: |
485 | 486 | allow_dirty_match: [] |
486 | 487 | changelog: Changes |
487 | 488 | Dist::Zilla::Role::Git::Repo: |
488 | git_version: 2.37.3 | |
489 | git_version: 2.40.0 | |
489 | 490 | repo_root: . |
490 | 491 | Dist::Zilla::Role::Git::StringFormatter: |
491 | 492 | time_zone: local |
498 | 499 | branch: ~ |
499 | 500 | changelog: Changes |
500 | 501 | signed: 0 |
501 | tag: v3.0.1 | |
502 | tag: v3.0.2 | |
502 | 503 | tag_format: v%V |
503 | 504 | tag_message: v%V |
504 | 505 | Dist::Zilla::Role::Git::Repo: |
505 | git_version: 2.37.3 | |
506 | git_version: 2.40.0 | |
506 | 507 | repo_root: . |
507 | 508 | Dist::Zilla::Role::Git::StringFormatter: |
508 | 509 | time_zone: local |
523 | 524 | - |
524 | 525 | class: Dist::Zilla::Plugin::NextRelease |
525 | 526 | name: '@Author::OALDERS/@Git::VersionManager/NextRelease' |
526 | version: '6.025' | |
527 | version: '6.030' | |
527 | 528 | - |
528 | 529 | class: Dist::Zilla::Plugin::Git::Commit |
529 | 530 | config: |
540 | 541 | - (?^:^lib/.*\.pm$) |
541 | 542 | changelog: Changes |
542 | 543 | Dist::Zilla::Role::Git::Repo: |
543 | git_version: 2.37.3 | |
544 | git_version: 2.40.0 | |
544 | 545 | repo_root: . |
545 | 546 | Dist::Zilla::Role::Git::StringFormatter: |
546 | 547 | time_zone: local |
554 | 555 | - origin |
555 | 556 | remotes_must_exist: 1 |
556 | 557 | Dist::Zilla::Role::Git::Repo: |
557 | git_version: 2.37.3 | |
558 | git_version: 2.40.0 | |
558 | 559 | repo_root: . |
559 | 560 | name: '@Author::OALDERS/Git::Push' |
560 | 561 | version: '2.048' |
565 | 566 | phase: runtime |
566 | 567 | type: requires |
567 | 568 | name: Prereqs |
568 | version: '6.025' | |
569 | version: '6.030' | |
569 | 570 | - |
570 | 571 | class: Dist::Zilla::Plugin::Prereqs |
571 | 572 | config: |
573 | 574 | phase: test |
574 | 575 | type: requires |
575 | 576 | name: TestRequires |
576 | version: '6.025' | |
577 | version: '6.030' | |
577 | 578 | - |
578 | 579 | class: Dist::Zilla::Plugin::FinderCode |
579 | 580 | name: ':InstallModules' |
580 | version: '6.025' | |
581 | version: '6.030' | |
581 | 582 | - |
582 | 583 | class: Dist::Zilla::Plugin::FinderCode |
583 | 584 | name: ':IncModules' |
584 | version: '6.025' | |
585 | version: '6.030' | |
585 | 586 | - |
586 | 587 | class: Dist::Zilla::Plugin::FinderCode |
587 | 588 | name: ':TestFiles' |
588 | version: '6.025' | |
589 | version: '6.030' | |
589 | 590 | - |
590 | 591 | class: Dist::Zilla::Plugin::FinderCode |
591 | 592 | name: ':ExtraTestFiles' |
592 | version: '6.025' | |
593 | version: '6.030' | |
593 | 594 | - |
594 | 595 | class: Dist::Zilla::Plugin::FinderCode |
595 | 596 | name: ':ExecFiles' |
596 | version: '6.025' | |
597 | version: '6.030' | |
597 | 598 | - |
598 | 599 | class: Dist::Zilla::Plugin::FinderCode |
599 | 600 | name: ':PerlExecFiles' |
600 | version: '6.025' | |
601 | version: '6.030' | |
601 | 602 | - |
602 | 603 | class: Dist::Zilla::Plugin::FinderCode |
603 | 604 | name: ':ShareFiles' |
604 | version: '6.025' | |
605 | version: '6.030' | |
605 | 606 | - |
606 | 607 | class: Dist::Zilla::Plugin::FinderCode |
607 | 608 | name: ':MainModule' |
608 | version: '6.025' | |
609 | version: '6.030' | |
609 | 610 | - |
610 | 611 | class: Dist::Zilla::Plugin::FinderCode |
611 | 612 | name: ':AllFiles' |
612 | version: '6.025' | |
613 | version: '6.030' | |
613 | 614 | - |
614 | 615 | class: Dist::Zilla::Plugin::FinderCode |
615 | 616 | name: ':NoFiles' |
616 | version: '6.025' | |
617 | version: '6.030' | |
617 | 618 | zilla: |
618 | 619 | class: Dist::Zilla::Dist::Builder |
619 | 620 | config: |
620 | 621 | is_trial: 0 |
621 | version: '6.025' | |
622 | version: '6.030' | |
622 | 623 | x_contributors: |
623 | 624 | - "Arthur Axel 'fREW' Schmidt <frioux@gmail.com>" |
624 | 625 | - 'Ben Bullock <benkasminbullock@gmail.com>' |
625 | 626 | - 'Clayton Cottingham <ccottingham@presinet.com>' |
626 | 627 | - 'David Golden <dagolden@cpan.org>' |
628 | - 'E. Choroba <choroba@users.noreply.github.com>' | |
627 | 629 | - 'Fitz Elliott <fitz.elliott@gmail.com>' |
628 | 630 | - 'Graham Knop <haarg@haarg.org>' |
629 | 631 | - 'Graham TerMarsch <graham@howlingfrog.com>' |
633 | 635 | - 'perlpong <calyx238@gmail.com>' |
634 | 636 | - 'skaufman <sam@socialflow.com>' |
635 | 637 | x_generated_by_perl: v5.36.0 |
636 | x_serialization_backend: 'YAML::Tiny version 1.73' | |
638 | x_serialization_backend: 'YAML::Tiny version 1.74' | |
637 | 639 | x_spdx_expression: 'Artistic-1.0-Perl OR GPL-1.0-or-later' |
0 | # This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.025. | |
0 | # This file was automatically generated by Dist::Zilla::Plugin::MakeMaker v6.030. | |
1 | 1 | use strict; |
2 | 2 | use warnings; |
3 | 3 | |
38 | 38 | "Test::More" => "0.96", |
39 | 39 | "warnings" => 0 |
40 | 40 | }, |
41 | "VERSION" => "v3.0.1", | |
41 | "VERSION" => "v3.0.2", | |
42 | 42 | "test" => { |
43 | 43 | "TESTS" => "t/*.t" |
44 | 44 | } |
3 | 3 | |
4 | 4 | # VERSION |
5 | 5 | |
6 | version v3.0.1 | |
6 | version v3.0.2 | |
7 | 7 | |
8 | 8 | # SYNOPSIS |
9 | 9 | |
232 | 232 | $html = $hr->process( $html ); |
233 | 233 | # $html is now: "<!-- comments! -->foo" |
234 | 234 | |
235 | - create\_newlines => \[0|1\] | |
236 | ||
237 | Set the value to true if you'd like to have each br tag replaced by a | |
238 | newline and every p tag replaced by two newlines. If a tag is | |
239 | specified in the allowed HTML, it won't be replaced. | |
240 | ||
235 | 241 | - replace\_img => \[0|1|CodeRef\] |
236 | 242 | |
237 | 243 | Set the value to true if you'd like to have img tags replaced with |
0 | # This file is generated by Dist::Zilla::Plugin::CPANFile v6.025 | |
0 | # This file is generated by Dist::Zilla::Plugin::CPANFile v6.030 | |
1 | 1 | # Do not edit this file directly. To change prereqs, edit the `dist.ini` file. |
2 | 2 | |
3 | 3 | requires "Carp" => "0"; |
0 | libhtml-restrict-perl (3.0.2-1) UNRELEASED; urgency=low | |
1 | ||
2 | * New upstream release. | |
3 | ||
4 | -- Debian Janitor <janitor@jelmer.uk> Thu, 04 May 2023 22:16:45 -0000 | |
5 | ||
0 | 6 | libhtml-restrict-perl (3.0.1-1) unstable; urgency=medium |
1 | 7 | |
2 | 8 | * Team upload. |
3 | 3 | package HTML::Restrict; |
4 | 4 | |
5 | 5 | use version; |
6 | our $VERSION = 'v3.0.1'; | |
6 | our $VERSION = 'v3.0.2'; | |
7 | 7 | |
8 | 8 | use Carp qw( croak ); |
9 | 9 | use Data::Dump qw( dump ); |
25 | 25 | ); |
26 | 26 | |
27 | 27 | has allow_declaration => ( |
28 | is => 'rw', | |
29 | isa => Bool, | |
30 | default => 0, | |
31 | ); | |
32 | ||
33 | has create_newlines => ( | |
28 | 34 | is => 'rw', |
29 | 35 | isa => Bool, |
30 | 36 | default => 0, |
244 | 250 | } |
245 | 251 | $self->_processed( ( $self->_processed || q{} ) . $alt ); |
246 | 252 | } |
253 | elsif ( $tagname eq 'br' && $self->create_newlines ) { | |
254 | $self->_processed( ( $self->_processed || q{} ) . "\n" ); | |
255 | } | |
256 | elsif ( $tagname eq 'p' && $self->create_newlines ) { | |
257 | $self->_processed( | |
258 | ( $self->_processed || q{} ) . "\n\n" ); | |
259 | } | |
247 | 260 | elsif ( any { $_ eq $tagname } |
248 | 261 | @{ $self->strip_enclosed_content } ) { |
249 | 262 | print "adding $tagname to strippers" if $self->debug; |
413 | 426 | |
414 | 427 | =head1 VERSION |
415 | 428 | |
416 | version v3.0.1 | |
429 | version v3.0.2 | |
417 | 430 | |
418 | 431 | =head1 SYNOPSIS |
419 | 432 | |
644 | 657 | $html = $hr->process( $html ); |
645 | 658 | # $html is now: "<!-- comments! -->foo" |
646 | 659 | |
660 | =item * create_newlines => [0|1] | |
661 | ||
662 | Set the value to true if you'd like to have each br tag replaced by a | |
663 | newline and every p tag replaced by two newlines. If a tag is | |
664 | specified in the allowed HTML, it won't be replaced. | |
665 | ||
647 | 666 | =item * replace_img => [0|1|CodeRef] |
648 | 667 | |
649 | 668 | Set the value to true if you'd like to have img tags replaced with |
2 | 2 | use strict; |
3 | 3 | use warnings; |
4 | 4 | |
5 | # This test was generated by Dist::Zilla::Plugin::Test::ReportPrereqs 0.028 | |
5 | # This test was generated by Dist::Zilla::Plugin::Test::ReportPrereqs 0.029 | |
6 | 6 | |
7 | 7 | use Test::More tests => 1; |
8 | 8 | |
108 | 108 | my @reports = [qw/Module Want Have/]; |
109 | 109 | |
110 | 110 | for my $mod ( sort keys %{ $req_hash->{$phase}{$type} } ) { |
111 | next if $mod eq 'perl'; | |
112 | 111 | next if grep { $_ eq $mod } @exclude; |
112 | ||
113 | my $want = $req_hash->{$phase}{$type}{$mod}; | |
114 | $want = "undef" unless defined $want; | |
115 | $want = "any" if !$want && $want == 0; | |
116 | ||
117 | if ($mod eq 'perl') { | |
118 | push @reports, ['perl', $want, $]]; | |
119 | next; | |
120 | } | |
121 | ||
122 | my $req_string = $want eq 'any' ? 'any version required' : "version '$want' required"; | |
113 | 123 | |
114 | 124 | my $file = $mod; |
115 | 125 | $file =~ s{::}{/}g; |
116 | 126 | $file .= ".pm"; |
117 | 127 | my ($prefix) = grep { -e File::Spec->catfile($_, $file) } @INC; |
118 | ||
119 | my $want = $req_hash->{$phase}{$type}{$mod}; | |
120 | $want = "undef" unless defined $want; | |
121 | $want = "any" if !$want && $want == 0; | |
122 | ||
123 | my $req_string = $want eq 'any' ? 'any version required' : "version '$want' required"; | |
124 | 128 | |
125 | 129 | if ($prefix) { |
126 | 130 | my $have = MM->parse_version( File::Spec->catfile($prefix, $file) ); |
0 | #!/usr/bin/env perl | |
1 | ||
2 | use strict; | |
3 | use warnings; | |
4 | ||
5 | use HTML::Restrict (); | |
6 | use Test::More; | |
7 | ||
8 | my $hr = HTML::Restrict->new(); | |
9 | ||
10 | { | |
11 | my $html = q[Line 1<p>Line 2<br>Line 3]; | |
12 | my $processed = $hr->process($html); | |
13 | is $processed, 'Line 1Line 2Line 3', 'off by default'; | |
14 | } | |
15 | ||
16 | $hr->create_newlines(1); | |
17 | ||
18 | { | |
19 | my $html = q[ | |
20 | Line 1<br>Line 2<br/>Line 3<br />Line 4 | |
21 | ]; | |
22 | my $processed = $hr->process($html); | |
23 | is $processed, "Line 1\nLine 2\nLine 3\nLine 4", | |
24 | 'replace <br> by a newline'; | |
25 | } | |
26 | ||
27 | { | |
28 | my $html = q[ | |
29 | Paragraph 1<p>Paragraph 2<p>Paragraph 3</p><p>Paragraph 4]; | |
30 | my $processed = $hr->process($html); | |
31 | is $processed, "Paragraph 1\n\nParagraph 2\n\nParagraph 3\n\nParagraph 4", | |
32 | 'replace <p> by 2 newlines'; | |
33 | } | |
34 | ||
35 | { | |
36 | my $html = q[Line 1<p>Line 2<br>Line 3]; | |
37 | $hr->set_rules( { p => [] } ); | |
38 | my $processed = $hr->process($html); | |
39 | is $processed, "Line 1<p>Line 2\nLine 3", 'rules have precedence'; | |
40 | } | |
41 | ||
42 | done_testing(); |