[libvirt] [libvirt-security-notice PATCH] templates: Include charset info in <head/>

Michal Privoznik mprivozn at redhat.com
Fri Jan 17 15:52:02 UTC 2014


On 17.01.2014 16:48, Daniel P. Berrange wrote:
> 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
> 

Yep, vim autocorrect strikes again. That's because you're using TABs
instead of spaces. Anyways, fixed and pushed. Thanks!

Michal




More information about the libvir-list mailing list