Common Lisp Package: HTML-DIFF

README:

FUNCTION

Public

HTML-DIFF-TO-STREAM (STREAM A B &KEY (INSERT-CLASS diff) (DELETE-CLASS diff) (REPLACE-CLASS diff))

Takes two strings containing HTML and returns a human-readable HTML diff. Uses <ins>, <del> and some css classes.

Undocumented

HTML-DIFF (A B &KEY (INSERT-CLASS diff) (DELETE-CLASS diff) (REPLACE-CLASS diff))

Private

JOIN (SEQ)

Concatenates HTML tokens back into a single string.

JOIN-TO-STREAM (STREAM SEQ)

Concatenates HTML tokens back into a single string.

TAG-P (X)

Returns true if a string has the format of an HTML/XML open tag (<p>, <applet>, <woo>, etc.)

Undocumented

HTML-DIFF-2-COL (A B &KEY (INSERT-CLASS diff) (DELETE-CLASS diff) (REPLACE-CLASS diff))

HTML-GET-OPCODES (A B)

TOKENIZE-HTML (X)

WHITESPACE-P (CHAR)