html-conversion-procs.tcl

  • last updated 21 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
improve comments and spelling

  1. … 2 more files in changeset.
Rename string_truncate and string_truncate_middle to comply with OpenACS naming convention, create deprecated wrappers, replace occurrences

As string_truncate_middle was defined in xotcl-request-monitor, bring it to acs-tcl instead

  1. … 11 more files in changeset.
provide a better name for link in test case

add "blob" to the checked attributes

  1. … 1 more file in changeset.
add checking for javascript and data protocols (fixes issue #3413)

  1. … 3 more files in changeset.
improve spelling

  1. … 14 more files in changeset.
whitespace cleanup

  1. … 11 more files in changeset.
improving ad_html_to_text:

- handle src specs with "data:" (skip data)

- handle anchors with empty hrefs and internal links by not adding these to the text rendering

- add test cases to regression test

  1. … 1 more file in changeset.
Overhaul of test cases:

- make tested API calls explict

- reduce dependency on twt

  1. … 18 more files in changeset.
prefer "aa_equals" over "aa_true"+"string equal"

  1. … 5 more files in changeset.
Whitespace cleanup

Add 'Markdown' tests for 'ad_html_text_convert'

Add trivial tests for the other different kinds of space

- provide test case for html-to-text conversion

- provide a version of html-to-text based on ns_reflow_text

  1. … 2 more files in changeset.
Bug fix: avoid confusion between text argument and option, when text starts with "-"

  1. … 36 more files in changeset.
merged changes from the oacs-5-9 branch and resolved conflicts

  1. … 7834 more files in changeset.
Fix test cases for text conversion

  1. … 1 more file in changeset.
- increase robsutness of apm_package_installed_p_not_cached

- make ad_unquote capable to unquote ns_qutehtml

- fix test cases

  1. … 4 more files in changeset.
- prefer ns_quotehtml over ad_quotehtml

  1. … 36 more files in changeset.
- add editor hints to keep spaces/tabs in the furture more consistent

  1. … 754 more files in changeset.
Non-info file merge results, with conflicts fixed

  1. … 726 more files in changeset.
Fixed tests to match the tDOM-based tag closing code.

Make the "old style" tag closing style lower case to be compatible with

the "new style" (tDOM) style, for consistency and so the same test cases

can be used with both. Changed test to match.

  1. … 1 more file in changeset.
Ignore HTML comments when convertng html to text (hides MS Word junk)

  1. … 1 more file in changeset.
Test cases for some acs-tcl procs

  1. … 2 more files in changeset.
make string_truncate reflect new behavior lars made, add test for ellipses on truncate

Added categories to the automated test(s).

  1. … 10 more files in changeset.
- Fixed bug: default for ad_html_text_convert was set to truncate at 70 chars

- The algorith in util_close_html_tags for including ellipsis in determining when to break was flawed -- caused it to break too son

  1. … 1 more file in changeset.
- Improved text formatting and clipping

- Added test cases

  1. … 1 more file in changeset.
merge of changes between oacs-5-0-0b4 and oacs-5-0-0-final to HEAD

  1. … 286 more files in changeset.