• last updated 3 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
hopefully the last problem with -- bug 1086

add -- to all string_truncate calls

  1. … 11 more files in changeset.
add a -- to ad_html_text_convert, make util_close_html_tags not eat < not part of a tag

Fixed bug: hadn't removed all references to allowed_url_attributes_list

Let AllowedAttributes, AllowedProtocol and AllowedTags to contain a * to make it easier to run an insecure site if you really don't care. Especially having to explicitly enumerate allowed tags can be a pain.

Don't print the illegal tag

Don't put HTML in the security error message. There's no need.

Fixed bug #466, plus another bug in ad_html_to_text

  1. … 1 more file in changeset.
Fix and test-case for bug #409: ad_html_to_text bombs. Turns out the bug was fixed a while ago, but there was another bug.

  1. … 1 more file in changeset.
Applied patch #135: ad_html_to_text -no_format param should ignore img

  1. … 1 more file in changeset.
ad_text_to_html: return empty if the text is empty. Make the first <p> tag not have margin-top

Fixed two bugs in ad_html_to_text:

- Tags that start with whitespace were still considered tags, and thus < p> would get treated equivalently to <p>.

- The regexp to find malformed tags wasn't bound to start and end of the inside of the tag, thus tags that had just a subset of welformedness would get interpreted.

Merged 4.6.4d1 (unreleased) to HEAD. This marks the end of the life of the oacs-4-6 branch.

  1. … 816 more files in changeset.
merge of 4.6.3b1 to HEAD

  1. … 107 more files in changeset.
Stupid off-by-one: string_truncate -len 10 would give you a string of length 11

Added switch to string_truncate to allow you to specify your own ellipsis string

And also the close tags. Apologies for all those small commits.

Enhanced text: Removing line breaks after paragraph-breaking HTML tags as well.

Applied patch #122

Fixed enhanced text formatting of UL, LI, and other tags that do paragraph breaks themselves.

Upgrade to 4.6.2

  1. … 30 more files in changeset.
Added maxlen argument to ad_html_text_convert, and made it accept 'plain' also.

Removed log statements that had accidentally been left in.

Removed extra -- in call to ad_enhanced_text_to_plain_text.

Added new formats text/enhanced and text/fixed-width to ad_html_text_convert, and improved significantly on the automatic HTML rendering functionality (line breaks, links)

Merged bug fix from HEAD: util_close_html_tags would actually insert the end tag even though it had discarded the open tag, e.g. if you said <form>, you'd get </FORM>!

Fixed bug: util_close_html_tags would actually insert the end tag even though it had discarded the open tag, e.g. if you said <form>, you'd get </FORM>!

merge from oacs-4-6

  1. … 130 more files in changeset.
add a space after the image url in ad_html_to_text since otherwise the url often has the ] appended

fix ad_html_to_text pre CRLF to return mapping (was inserting literal \n)