Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id C2236200BFA for ; Wed, 28 Dec 2016 16:52:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id C0CE4160B34; Wed, 28 Dec 2016 15:52:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 44848160B2E for ; Wed, 28 Dec 2016 16:52:00 +0100 (CET) Received: (qmail 87048 invoked by uid 500); 28 Dec 2016 15:51:59 -0000 Mailing-List: contact commits-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@commons.apache.org Delivered-To: mailing list commits@commons.apache.org Received: (qmail 87011 invoked by uid 99); 28 Dec 2016 15:51:59 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Dec 2016 15:51:59 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id F3D13DFD86; Wed, 28 Dec 2016 15:51:58 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: chtompki@apache.org To: commits@commons.apache.org Date: Wed, 28 Dec 2016 15:51:58 -0000 Message-Id: <6b7b7300022b42cf8ddc30891d04ba93@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [1/2] [text] 1. Adding a new html4 translator to escape HTML characters only once. This prevents single, double or recursive escaping of html characters. 2. Using SingleLookupTranslator directly, instead of passing it to AggregateTranslator. 3. Added esc archived-at: Wed, 28 Dec 2016 15:52:00 -0000 Repository: commons-text Updated Branches: refs/heads/master 51914f1ea -> cbb5701cf 1. Adding a new html4 translator to escape HTML characters only once. This prevents single, double or recursive escaping of html characters. 2. Using SingleLookupTranslator directly, instead of passing it to AggregateTranslator. 3. Added escapeHtml3Once() method. 4. Commenting improvements. Project: http://git-wip-us.apache.org/repos/asf/commons-text/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-text/commit/28467186 Tree: http://git-wip-us.apache.org/repos/asf/commons-text/tree/28467186 Diff: http://git-wip-us.apache.org/repos/asf/commons-text/diff/28467186 Branch: refs/heads/master Commit: 28467186441483285ddd9dbd5e87627f40e9c8f9 Parents: 51914f1 Author: sampyash Authored: Mon Dec 26 23:08:01 2016 +0530 Committer: Rob Tompkins Committed: Wed Dec 28 10:49:42 2016 -0500 ---------------------------------------------------------------------- ----------------------------------------------------------------------