• last updated 13 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fix typos

  1. … 31 more files in changeset.
- 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.
fix for backwards compatibility test for ns_reflow_text

Replace "wrap_string" by "ns_reflow_text", where the latter is a

builtin of newer versions of NaviServer. When "ns_reflow_text" is not

available, provide a scripted version for it.

wrap_string is marked as deprecated, since it has no proper prefix,

and is less powerful than ns_reflow_text

  1. … 15 more files in changeset.
provide more feedback when tdom parsing fails

add text/markdown to the accepted text formats of the richtext widget and ad_html_text_convert

  1. … 5 more files in changeset.
Move deprecated procs into deprecated-procs.tcl

  1. … 10 more files in changeset.
minor improvements (actually no need for ad_try, if all we do is a dom command)

replace "catch" by "ad_try"

Fix more typos

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

  1. … 81 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.
Improve explaination

Fix typo

Point out why these two procs are not currently in use around

- Remove duplicate processing of tags (was duplicated since 16 (!!) years, many thanks to Franz Penz for noticing)

- remove unneeded variable

Fix spelling errors

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

  1. … 1 more file in changeset.
Move requirement of packages into proc.

Fix typo, allow to resuse tDOM object built when fixing markup instead of parsing again

- new utility to try 'fixing' invalid HTML

- fixed recognition of protocol agnostic urls

- use location from connection context and configurations to determine whether full urls are local

- optionally use new utility when plain parsing fails to try accepting a broader kind of invalid markup

- some update in test cases

- rename of the utilities with the 'dom' prefix, to make clear that this is the dom approach for sanitizing markup.

As it is sometimes prone to format and content loss, its use should be carefully considered.

  1. … 1 more file in changeset.
Improved behavior on links by using RFC compliant URL recognition.

Created (working) test cases

  1. … 1 more file in changeset.
Fix typo

New utility to sanitize HTML allowing to specify different sets of tags,

attributes and protocols to allow and two generic policies: strip javascript

and remove external references. It can also be used only for validation.

- white space change

- white space change

  1. … 1 more file in changeset.
- use list operator for a more declarative reading

- imporve ad_html_qualify_links in various ways (better argument name, better comments, removed superflous slashes, ...

  1. … 1 more file in changeset.
- add a function ad_html_qualify_links to make e.g. relative URL handing in notifications easier