From owner-svn-doc-all@freebsd.org Wed Apr 13 15:22:43 2016 Return-Path: Delivered-To: svn-doc-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C245EB0E4B9; Wed, 13 Apr 2016 15:22:43 +0000 (UTC) (envelope-from wblock@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9593E1ED5; Wed, 13 Apr 2016 15:22:43 +0000 (UTC) (envelope-from wblock@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u3DFMgiT088427; Wed, 13 Apr 2016 15:22:42 GMT (envelope-from wblock@FreeBSD.org) Received: (from wblock@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u3DFMg0q088426; Wed, 13 Apr 2016 15:22:42 GMT (envelope-from wblock@FreeBSD.org) Message-Id: <201604131522.u3DFMg0q088426@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: wblock set sender to wblock@FreeBSD.org using -f From: Warren Block Date: Wed, 13 Apr 2016 15:22:42 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r48609 - head/en_US.ISO8859-1/htdocs/news/status X-SVN-Group: doc-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-doc-all@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "SVN commit messages for the entire doc trees \(except for " user" , " projects" , and " translations" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Apr 2016 15:22:43 -0000 Author: wblock Date: Wed Apr 13 15:22:42 2016 New Revision: 48609 URL: https://svnweb.freebsd.org/changeset/doc/48609 Log: The stylesheet did not consider long, wrapped lines when generating IDs, and produced broken IDs with linefeeds and multiple dashes. Fix that with numerous applications of normalize-space() before translating spaces into dashes. This stylesheet is XSL 1.0. I don't know if there is a reason for that. If it were XSL 2.0, we could define a single xsl:function to format IDs and factor out all these normalize-space() and translate(, ' ','-') functions into it. Modified: head/en_US.ISO8859-1/htdocs/news/status/report.xsl Modified: head/en_US.ISO8859-1/htdocs/news/status/report.xsl ============================================================================== --- head/en_US.ISO8859-1/htdocs/news/status/report.xsl Wed Apr 13 14:04:51 2016 (r48608) +++ head/en_US.ISO8859-1/htdocs/news/status/report.xsl Wed Apr 13 15:22:42 2016 (r48609) @@ -30,14 +30,14 @@

# + select="translate(normalize-space(description),' ', '-')"/>