[gedit] html5 minimal body tag
- From: Paolo Borelli <pborelli src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] html5 minimal body tag
- Date: Fri, 6 Jul 2012 19:45:10 +0000 (UTC)
commit c7de0b17053eb6fed5aca73740ed7b35793bd309
Author: Jaseem Abid <jaseemabid gmail com>
Date: Wed Jul 4 02:17:59 2012 +0530
html5 minimal body tag
Onload on body tag is not used anymore and is considered a
bad practice. A text editor should not support this.
Signed-off-by: Jaseem Abid <jaseemabid gmail com>
plugins/snippets/data/html.xml | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/snippets/data/html.xml b/plugins/snippets/data/html.xml
index d8e7a6c..cd49c26 100644
--- a/plugins/snippets/data/html.xml
+++ b/plugins/snippets/data/html.xml
@@ -76,7 +76,7 @@ $0]]></text>
<tag>base</tag>
</snippet>
<snippet id="body">
- <text><![CDATA[<body id="${1:ID} " onload="$2"}>
+ <text><![CDATA[<body id="${1:ID}">
$0
</body>]]></text>
<description>Body</description>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]