Skip to content

Commit 370f1ec

Browse files
committed
Improve markup handling for copyrights
Rather than using complex regexes, we now use a simple set of known tagsto strip from markup. Signed-off-by: Philippe Ombredanne <[email protected]>
1 parent f6696fe commit 370f1ec

File tree

57 files changed

+18354
-27974
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+18354
-27974
lines changed

src/textcode/markup.py

Lines changed: 1841 additions & 79 deletions
Large diffs are not rendered by default.

tests/textcode/data/markup/allclasses-frame.html

Lines changed: 0 additions & 6586 deletions
This file was deleted.

tests/textcode/data/markup_expected/Label.html.demarkup.json

Lines changed: 663 additions & 663 deletions
Large diffs are not rendered by default.

tests/textcode/data/markup_expected/Label.html.stripmarkup-legacy.json

Lines changed: 665 additions & 0 deletions
Large diffs are not rendered by default.

tests/textcode/data/markup_expected/Label.html.stripmarkup-tagset.json

Lines changed: 665 additions & 0 deletions
Large diffs are not rendered by default.

tests/textcode/data/markup_expected/Label.html.stripmarkup.json

Lines changed: 663 additions & 663 deletions
Large diffs are not rendered by default.

tests/textcode/data/markup_expected/PDL.html.demarkup.json

Lines changed: 527 additions & 527 deletions
Large diffs are not rendered by default.

tests/textcode/data/markup_expected/PDL.html.stripmarkup-legacy.json

Lines changed: 529 additions & 0 deletions
Large diffs are not rendered by default.

tests/textcode/data/markup_expected/PDL.html.stripmarkup-tagset.json

Lines changed: 529 additions & 0 deletions
Large diffs are not rendered by default.

tests/textcode/data/markup_expected/PDL.html.stripmarkup.json

Lines changed: 527 additions & 527 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)