Skip to content
This repository was archived by the owner on Jul 9, 2020. It is now read-only.
This repository was archived by the owner on Jul 9, 2020. It is now read-only.

Use htmlDiff for webDiffer #3

@kakwok

Description

@kakwok

difflib.htmlDiff provides considerably more readable diff tables than line-by-line diff.
webDiffer could use this method so that user will get a nice displace when re-directed from the bot message.
Here's short snippet of example usage:

  htmlDiffer = difflib.HtmlDiff(wrapcolumn=90)
  body = htmlDiffer.make_table(earlierCfgScript, laterCfgScript, "", "", True)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions