Skip to content

Instantly share code, notes, and snippets.

@handlename
Created November 11, 2010 15:48
Show Gist options
  • Save handlename/672655 to your computer and use it in GitHub Desktop.
Save handlename/672655 to your computer and use it in GitHub Desktop.
for html-helper-mode 3.0.4kilo
*** html-helper-mode_default.el 2004-05-17 01:01:09.000000000 +0900
--- html-helper-mode.el 2010-11-11 16:51:48.000000000 +0900
***************
*** 310,316 ****
(defvar html-helper-new-PHP-buffer-template
'("<html> <head>\n"
! "<? PHP\n\n?>"
"</head><body>\n"
"<? /* " html-helper-timestamp-start "\n\n"
html-helper-timestamp-end
--- 310,316 ----
(defvar html-helper-new-PHP-buffer-template
'("<html> <head>\n"
! "<?php\n\n?>"
"</head><body>\n"
"<? /* " html-helper-timestamp-start "\n\n"
html-helper-timestamp-end
***************
*** 880,894 ****
(html-helper-insert-or-wipe "border" )
(html-helper-insert-or-wipe "width" )">\n</table>"))
(table "r" "<tr>" "Table Row"
! ("<TR>\n</TR>"))
(table "h" "<th>" "Table Header"
! ("<TH"
(html-helper-insert-or-wipe "rowspan" )
! (html-helper-insert-or-wipe "colspan")">\n</TH>"))
(table "d" "<td>" "Table Data"
! ("<TD"
(html-helper-insert-or-wipe "align" )
! (html-helper-insert-or-wipe "colspan")"></TD>"))
(table "p" "<caption>" "html table caption"
("<caption>" (r . "Table: ") "</caption>"))
;;text elements
--- 880,894 ----
(html-helper-insert-or-wipe "border" )
(html-helper-insert-or-wipe "width" )">\n</table>"))
(table "r" "<tr>" "Table Row"
! ("<tr>\n</tr>"))
(table "h" "<th>" "Table Header"
! ("<th"
(html-helper-insert-or-wipe "rowspan" )
! (html-helper-insert-or-wipe "colspan")">\n</th>"))
(table "d" "<td>" "Table Data"
! ("<td"
(html-helper-insert-or-wipe "align" )
! (html-helper-insert-or-wipe "colspan")"></td>"))
(table "p" "<caption>" "html table caption"
("<caption>" (r . "Table: ") "</caption>"))
;;text elements
***************
*** 924,947 ****
(head "t" "<title>" "Title"
("<title>" (r "Document title: ") "</title>"))
;; scripting elements
! (script "j" "<SCRIPT>" "JavaScript"
! ("<SCRIPT TYPE=\"text/javascript\">\n"
! (r "Script") "</SCRIPT>"))
! (script "v" "<SCRIPT>" "VBScript"
! ("<SCRIPT TYPE=\"text/vbscript\">\n"
! (r "Script") "</SCRIPT>"))
(script "%" "<%=" "ASP output"
("<%="(p " Variabile: ")"%>"))
(script "a" "<%xx%>" "JSP/ASP code"
! ("<%\n"(r "Code: " )"\n%>"))
(script "<" "<%xx%>" "JSP/ASP break"
("%>\n"(r "Code: " )"\n<%"))
(script "=" "<?=" "PHP output"
("<?="(p " Variabile: ")"?>"))
(script "p" "<?xx?>" "PHP code"
! ("<? PHP\n"(r "Code: " )"\n?>"))
(script "?" "<?xx?>" "PHP break"
! ("?>\n"(r " Code: " )"\n<? PHP"))
))
;;}}}
--- 924,947 ----
(head "t" "<title>" "Title"
("<title>" (r "Document title: ") "</title>"))
;; scripting elements
! (script "j" "<script>" "JavaScript"
! ("<script type=\"text/javascript\">\n"
! (r "Script") "</script>"))
! (script "v" "<script>" "VBScript"
! ("<script type=\"text/vbscript\">\n"
! (r "Script") "</script>"))
(script "%" "<%=" "ASP output"
("<%="(p " Variabile: ")"%>"))
(script "a" "<%xx%>" "JSP/ASP code"
! ("<% "(r "Code: " )" %>"))
(script "<" "<%xx%>" "JSP/ASP break"
("%>\n"(r "Code: " )"\n<%"))
(script "=" "<?=" "PHP output"
("<?="(p " Variabile: ")"?>"))
(script "p" "<?xx?>" "PHP code"
! ("<?php "(r "Code: " )" ?>"))
(script "?" "<?xx?>" "PHP break"
! ("?>\n"(r " Code: " )"\n<?php"))
))
;;}}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment