Remove vim modeline from editcommands.html
authorAryeh Gregor <AryehGregor+gitcommit@gmail.com>
Wed, 15 Jun 2011 12:57:08 -0600
changeset 273 e4e477a8b88a
parent 272 e6efe73e13c5
child 274 131a6b302149
Remove vim modeline from editcommands.html
editcommands.html
preprocess
--- a/editcommands.html	Wed Jun 15 12:55:55 2011 -0600
+++ b/editcommands.html	Wed Jun 15 12:57:08 2011 -0600
@@ -5480,4 +5480,3 @@
 </ul>
 
 <script src=http://www.whatwg.org/specs/web-apps/current-work/dfn.js></script>
-<!-- vim: set expandtab shiftwidth=2 tabstop=2 foldmarker=@{,@} foldmethod=marker indentexpr=: -->
--- a/preprocess	Wed Jun 15 12:55:55 2011 -0600
+++ b/preprocess	Wed Jun 15 12:57:08 2011 -0600
@@ -129,6 +129,7 @@
 
 s = s.replace("<!-- @{ -->", "")
 s = s.replace("<!-- @} -->", "")
+s = re.sub(r"\n<!-- vim:.*: -->", "", s)
 
 f = open("intermediate.html", "w")
 f.write(s)