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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
>> ---
>>  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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]