CVS log for 2004/PythonLib-IH/cleanhtml.py
Up to [Public] / 2004 / PythonLib-IH
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.6: download - view: text, markup, annotated - select for diffs
Fri Oct 25 15:55:43 2013 UTC (10 years, 7 months ago) by brett
Branches: MAIN
CVS tags: HEAD
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +14 -7 lines
Add clean_str to avoid extra string coercion.
This can help prevent downgrading Unicode strings. clean_str is also
useful in cases where a script does very fine formatting.
Revision 1.5: download - view: text, markup, annotated - select for diffs
Fri Oct 25 14:06:30 2013 UTC (10 years, 7 months ago) by brett
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +9 -2 lines
Add clean_print function.
This is the _print function of clean_format, added for the same reasons.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Fri Oct 25 14:03:57 2013 UTC (10 years, 7 months ago) by brett
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -2 lines
Argument name consistency.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Fri Oct 25 14:03:13 2013 UTC (10 years, 7 months ago) by brett
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +15 -1 lines
Add clean_format function.
This is a convenience function to make it easier to handle the common
interpolation case. multi_format is more powerful but most scripts
don't need that power most of the time.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Fri Oct 25 13:47:35 2013 UTC (10 years, 7 months ago) by brett
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +2 -0 lines
Make `from cleanhtml import *` nicer.
Revision 1.1: download - view: text, markup, annotated - select for diffs
Fri Oct 25 13:43:19 2013 UTC (10 years, 7 months ago) by brett
Branches: MAIN
First version.
Webmaster