Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
XHTML format for Text::Diff::Unified
Perl CSS
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
eg
lib/Text/Diff
t
.gitignore
Build.PL
Changes
MANIFEST.SKIP
README.md

README.md

Text/Diff/HTML version 0.08

This class subclasses Text::Diff::Unified, a formatting class provided by the Text-Diff distribution, to add XHTML markup to the unified diff format.

In the XHTML formatted by this module, the contents of the diff are wrapped in a <div> element, as is each hunk of the diff. Within each hunk, all content is properly HTML encoded and the various sections of the diff are marked up with the appropriate XHTML elements.

Installation

To install this module, type the following:

perl Build.PL
./Build
./Build test
./Build install

Or, if you don't have Module::Build installed, type the following:

perl Makefile.PL
make
make test
make install

Dependencies

Text::WordDiff requires the following modules:

  • Text::Diff 0.11
  • HTML::Entities

Copyright and Licence

Copyright (c) 2005-2011 David E. Wheeler. Some Rights Reserved.

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

Something went wrong with that request. Please try again.