Skip to content

Commit

Permalink
Add XHTML 1.0 DOCTYPE and fix invalid markup…
Browse files Browse the repository at this point in the history
  • Loading branch information
Rob Gleeson committed Jun 21, 2010
1 parent 93bf175 commit 7f0beef
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions plugin/MKD.vim
Expand Up @@ -10,7 +10,7 @@ ruby << EOF


style = <<-STYLE
<style>
<style type="text/css">
body div#content {
margin : 0 auto;
width : 920px;
Expand Down Expand Up @@ -58,7 +58,10 @@ ruby << EOF
STYLE

layout = <<-LAYOUT
<html>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
#{style}
Expand Down

0 comments on commit 7f0beef

Please sign in to comment.