head 1.4; access; symbols; locks; strict; comment @# @; 1.4 date 2025.04.13.21.05.33; author schmonz; state Exp; branches; next 1.3; commitid mJkBKqH7p7gwZVQF; 1.3 date 2025.04.10.23.45.43; author schmonz; state Exp; branches; next 1.2; commitid sIiLm2d7toPrYyQF; 1.2 date 2025.03.30.16.05.29; author schmonz; state Exp; branches; next 1.1; commitid zHz1DikVTeStM6PF; 1.1 date 2025.03.30.16.00.46; author schmonz; state Exp; branches; next ; commitid 1DRxPBOhIYxRK6PF; desc @@ 1.4 log @p5-Text-HTML-Turndown: update to 0.06. Changes: * Don't generate Markdown for empty links as in Such empty link tags are created by Markdown::Perl for text such as [https://example.com] , if automatic link generation is on (it generates , and browsers turn the outer link into an empty link, as links cannot be nested) @ text @# $NetBSD: Makefile,v 1.3 2025/04/10 23:45:43 schmonz Exp $ DISTNAME= Text-HTML-Turndown-0.06 PKGNAME= p5-${DISTNAME} CATEGORIES= textproc perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=../../authors/id/C/CO/CORION/} MAINTAINER= schmonz@@NetBSD.org HOMEPAGE= https://github.com/Corion/Text-HTML-Turndown COMMENT= Convert HTML to Markdown LICENSE= artistic-2.0 PERL5_PACKLIST= auto/Text/HTML/Turndown/.packlist USE_LANGUAGES= # none DEPENDS+= p5-List-MoreUtils-[0-9]*:../../devel/p5-List-MoreUtils DEPENDS+= p5-Moo>=2:../../devel/p5-Moo DEPENDS+= p5-XML-LibXML-[0-9]*:../../textproc/p5-XML-LibXML #TEST_DEPENDS+= p5-JSON-Tiny-[0-9]* .include "../../lang/perl5/module.mk" .include "../../mk/bsd.pkg.mk" @ 1.3 log @p5-Text-HTML-Turndown: update to 0.04. Changes: * Handle newlines in table cells We convert them into
, as Markdown tables don't really handle newlines @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2025/03/30 16:05:29 schmonz Exp $ d3 1 a3 1 DISTNAME= Text-HTML-Turndown-0.05 @ 1.2 log @p5-Text-HTML-Turndown: improve comment in previous. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2025/03/30 16:00:46 schmonz Exp $ d3 1 a3 1 DISTNAME= Text-HTML-Turndown-0.04 @ 1.1 log @Add p5-Text-HTML-Turndown: Convert HTML to Markdown This is an adaptation of the turndown libraries to convert HTML to Markdown. This port aims to be compatible with the Javascript code and uses the same test suite. But the original library does not pass its tests and the Joplin part does not use the original tests. @ text @d1 1 a1 1 # $NetBSD$ d20 1 a20 3 # TEST_REQUIRES => { # 'JSON::Tiny' => 0, # }, @