@@ -23,12 +23,14 @@ Description
2323 HTML::Entities, and the various sections of the diff are marked up with
2424 the appropriate XHTML elements. The elements used are as follows:
2525
26- * "<div class="file">"
26+ * "<div class="file">"
27+
2728 This element contains the entire contents of the diff "file"
2829 returned by "diff()". All of the following elements are subsumed by
2930 this one.
3031
31- * "<span class="fileheader">"
32+ * "<span class="fileheader">"
33+
3234 The header section for the files being "diff"ed, usually
3335 something like:
3436
@@ -38,11 +40,13 @@ Description
3840 This element immediately follows the opening "file" "<div>"
3941 element.
4042
41- * "<div class="hunk">"
43+ * "<div class="hunk">"
44+
4245 This element contains a single diff "hunk". Each hunk may
43- contain the following "<span>" elements:
46+ contain the following elements:
47+
48+ * "<span class="hunkheader">"
4449
45- * "<span class="hunkheader">"
4650 Header for a diff hunk. The hunk header is usually something
4751 like:
4852
@@ -51,21 +55,26 @@ Description
5155 This element immediately follows the opening "hunk" "<div>"
5256 element.
5357
54- * "<span class="ctx">"
58+ * "<span class="ctx">"
59+
5560 Context around the important part of a "diff" hunk. These
5661 are contents that have *not* changed between the files being
5762 "diff"ed.
5863
59- * "<ins>"
64+ * "<ins>"
65+
6066 Inserted content, each line starting with "+".
6167
62- * "<del>"
68+ * "<del>"
69+
6370 Deleted content, each line starting with "-".
6471
65- * "<span class="hunkfooter">"
72+ * "<span class="hunkfooter">"
73+
6674 The footer section of a hunk; contains no contents.
6775
68- * "<span class="filefooter">"
76+ * "<span class="filefooter">"
77+
6978 The footer section of a file; contains no contents.
7079
7180 You may do whatever you like with these elements and classes; I highly
@@ -77,14 +86,19 @@ See Also
7786 Text::Diff
7887 Algorithm::Diff
7988
80- Bugs
81- Please send bug reports to <
[email protected] >.
89+ Support
90+ This module is stored in an open repository at the following address:
91+
92+ <https://svn.kineticode.com/Text-Diff-HTML/trunk/>
93+
94+ Patches against SVN::Notify are welcome. Please send bug reports to
95+ 8296
8397Author
84988599
86100Copyright and License
87- Copyright (c) 2005 Kineticode, Inc. All Rights Reserved.
101+ Copyright (c) 2005-2008 Kineticode, Inc. Some Rights Reserved.
88102
89103 This module is free software; you can redistribute it and/or modify it
90104 under the same terms as Perl itself.
0 commit comments