Skip to content
This repository was archived by the owner on Apr 10, 2025. It is now read-only.
This repository was archived by the owner on Apr 10, 2025. It is now read-only.

combine_css emits "<link ...>" without the proper "/" before the ">" with doctype XHTML #306

@GoogleCodeExporter

Description

@GoogleCodeExporter
Hi All

I've just installed mod-pagespeed on our Cent-OS/Apache server. Seems
to work, but it is breaking w3c xhtml validation because when
combining multiple css sheets, mod-pagespeed is rewriting the link in
the wrong format. Specifically, it ending the string with '>' rather
than '/>'.

My page headers are:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://
www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

But the combined css stylesheets are being rewritten as:

<link rel="stylesheet" type="text/css" href="css/stylesheet1.css
+stylesheet2.css,Mcc.ZvSQoMpNxD.css.pagespeed.cf.-MagyA9zJa.css">


Is this a known bug and/or have I got things configured incorrectly.
Any help would be much appreciated.

Original issue reported on code.google.com by jmara...@google.com on 10 Jun 2011 at 7:20

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions