Return-Path: X-Original-To: apmail-community-commits-archive@minotaur.apache.org Delivered-To: apmail-community-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0D94D17B46 for ; Thu, 14 May 2015 19:55:49 +0000 (UTC) Received: (qmail 84869 invoked by uid 500); 14 May 2015 19:55:49 -0000 Delivered-To: apmail-community-commits-archive@community.apache.org Received: (qmail 84852 invoked by uid 500); 14 May 2015 19:55:48 -0000 Mailing-List: contact commits-help@community.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@community.apache.org Delivered-To: mailing list commits@community.apache.org Received: (qmail 84841 invoked by uid 99); 14 May 2015 19:55:48 -0000 Received: from eris.apache.org (HELO hades.apache.org) (140.211.11.105) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 May 2015 19:55:48 +0000 Received: from hades.apache.org (localhost [127.0.0.1]) by hades.apache.org (ASF Mail Server at hades.apache.org) with ESMTP id CBCCCAC0043 for ; Thu, 14 May 2015 19:55:48 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1679445 - /comdev/projects.apache.org/site/js/projects.js Date: Thu, 14 May 2015 19:55:48 -0000 To: commits@community.apache.org From: hboutemy@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20150514195548.CBCCCAC0043@hades.apache.org> Author: hboutemy Date: Thu May 14 19:55:48 2015 New Revision: 1679445 URL: http://svn.apache.org/r1679445 Log: no special font for desciption Modified: comdev/projects.apache.org/site/js/projects.js Modified: comdev/projects.apache.org/site/js/projects.js URL: http://svn.apache.org/viewvc/comdev/projects.apache.org/site/js/projects.js?rev=1679445&r1=1679444&r2=1679445&view=diff ============================================================================== --- comdev/projects.apache.org/site/js/projects.js (original) +++ comdev/projects.apache.org/site/js/projects.js Thu May 14 19:55:48 2015 @@ -318,10 +318,7 @@ function renderProjectPage(project, proj obj.innerHTML = "

" + name + "

"; // project description - var p = document.createElement('p'); - p.style.fontFamily = '"Times New Roman", Times, serif'; - p.innerHTML = description.replace(/([^\r\n]+)\r?\n\r?\n/g,function(a) { return "

"+a+"

"}); - obj.appendChild(p); + appendElementWithInnerHTML(obj,'p',description.replace(/([^\r\n]+)\r?\n\r?\n/g,function(a) { return "

"+a+"

"})); var ul = document.createElement('ul');