[gedit] html5 script tags
- From: Paolo Borelli <pborelli src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] html5 script tags
- Date: Fri, 6 Jul 2012 19:45:05 +0000 (UTC)
commit fcc1872001094bddd773478e6916e395d04f35c7
Author: Jaseem Abid <jaseemabid gmail com>
Date: Wed Jul 4 01:33:48 2012 +0530
html5 script tags
Refer : https://developer.mozilla.org/en/HTML/Element/script
Signed-off-by: Jaseem Abid <jaseemabid gmail com>
plugins/snippets/data/html.xml | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/plugins/snippets/data/html.xml b/plugins/snippets/data/html.xml
index d294f93..d8e7a6c 100644
--- a/plugins/snippets/data/html.xml
+++ b/plugins/snippets/data/html.xml
@@ -172,16 +172,14 @@ $0]]></text>
<description>Option</description>
</snippet>
<snippet id="script">
- <text><![CDATA[<script type="text/javascript" language="javascript" charset="utf-8">
-// <![CDATA[
+ <text><![CDATA[<script type="text/javascript">
$0
-// ]]]]><![CDATA[>
</script>]]></text>
<description>Script</description>
<tag>script</tag>
</snippet>
<snippet id="scriptsrc">
- <text><![CDATA[<script src="$1" type="text/javascript" language="${2:javascript}" charset="${3:utf-8}" />]]></text>
+ <text><![CDATA[<script src="$1" type="text/javascript"></script>]]></text>
<description>Script With External Source</description>
<tag>scriptsrc</tag>
</snippet>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]