freebsd-ports/textproc/p5-Text-Diff-HTML/pkg-descr
Sunpoet Po-Chuan Hsieh ad4f267b7a Update WWW
search.cpan.org is shutting down.
It will redirect to metacpan.org after June 25, 2018.

With hat:	perl
2018-05-27 20:15:16 +00:00

12 lines
592 B
Text

This class subclasses Text::Diff::Unified, a formatting class provided
by the Text::Diff module, to add XHTML markup to the unified diff
format. For details on the interface of the diff() function, see the
Text::Diff documentation.
In the XHTML formatted by this module, the contents of the diff returned
by diff() are wrapped in a <div> element, as is each hunk of the diff.
Within each hunk, all content is properly HTML encoded using
HTML::Entities, and the various sections of the diff are marked up with
the appropriate XHTML elements.
WWW: https://metacpan.org/release/Text-Diff-HTML