[libvirt] [libvirt-security-notice PATCH] templates: Include charset info in <head/>
Daniel P. Berrange
berrange at redhat.com
Fri Jan 17 15:48:41 UTC 2014
On Fri, Jan 17, 2014 at 04:42:02PM +0100, Michal Privoznik wrote:
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
> templates/lsn2html.xsl | 3 ++-
> templates/lsn2indexhtml.xsl | 3 ++-
> 2 files changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/templates/lsn2html.xsl b/templates/lsn2html.xsl
> index aaac6e8..46501ab 100644
> --- a/templates/lsn2html.xsl
> +++ b/templates/lsn2html.xsl
> @@ -21,7 +21,8 @@
> <html>
> <head>
> <title>Libvirt Security Notice: LSN-<xsl:value-of select="lsn:id"/></title>
> - <link rel="stylesheet" type="text/css" href="../main.css" />
> + <link rel="stylesheet" type="text/css" href="../main.css" />
> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
> </head>
> <body>
> <h1>Libvirt Security Notice: LSN-<xsl:value-of select="lsn:id"/></h1>
> diff --git a/templates/lsn2indexhtml.xsl b/templates/lsn2indexhtml.xsl
> index 3573ac3..2e6f9c2 100644
> --- a/templates/lsn2indexhtml.xsl
> +++ b/templates/lsn2indexhtml.xsl
> @@ -12,7 +12,8 @@
> <html>
> <head>
> <title>Libvirt Security Notice Index</title>
> - <link rel="stylesheet" type="text/css" href="main.css" />
> + <link rel="stylesheet" type="text/css" href="main.css" />
> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
> </head>
> <body>
> <h1>Libvirt Security Notice Index</h1>
ACK though the indentation seems off.
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
More information about the libvir-list
mailing list