www-infrastructure-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (INFRA-9907) CMS-generated HTML anchors now appear in content
Date Mon, 06 Jul 2015 14:08:05 GMT

     [ https://issues.apache.org/jira/browse/INFRA-9907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sebb updated INFRA-9907:
------------------------
    Status: Waiting for Infra  (was: Closed)

The View.pm module now generates a warning message:

Unrecognized escape \s passed through at build/lib/ASF/View.pm line 187.

This was caused by the following part of the patch

-        for my $hdr (grep /^#/, split "\n", $args{deps}->{$_}->{content} // "") {
+        for my $hdr (grep /^#/, split "\s*\n", $args{deps}->{$_}->{content} // "")
{

If I replace "\s*\n" with /\s*\n/  the warning disappears.
But this needs double-checking.

> CMS-generated HTML anchors now appear in content
> ------------------------------------------------
>
>                 Key: INFRA-9907
>                 URL: https://issues.apache.org/jira/browse/INFRA-9907
>             Project: Infrastructure
>          Issue Type: Bug
>          Components: Website
>            Reporter: Bertrand Delacretaz
>            Assignee: Gavin
>            Priority: Minor
>         Attachments: regexp_diff, regexp_diff2
>
>
> I just made an unrelated change (revision 1688821) to the www.apache.org content, and
now in pages like http://www.apache.org/dev/committers.html the anchors that the CMS generates
appear in the content, for example:
> <h2 id="what-is-planetapache-planetapache">What Is PlanetApache? ## {#planetapache}</h2>
> which used to be
> <h2 id="planetapache">What Is PlanetApache?</h2>
> Note that that id's "syntax" has changed, maybe this is related.
> I'm not familiar with the www publishing code, and don't have tons of time right now,
but let me know if you have pointers on where to look for this problem.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message