]> git.draconx.ca Git - homepage.git/blobdiff - Rules
Add spaces in self-closing XML tags.
[homepage.git] / Rules
diff --git a/Rules b/Rules
index d0a81fb8c496c7f2232393bdba6f32dbd68fdc30..a7dffeef792cb601a11b44497a7a7c767d520461 100644 (file)
--- a/Rules
+++ b/Rules
@@ -1,6 +1,6 @@
 #!/usr/bin/env ruby
 #
-# Copyright © 2018-2019 Nick Bowler
+# Copyright © 2018-2020 Nick Bowler
 #
 # This program is free software: you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -54,6 +54,7 @@ compile '/license/gpl*.md' do
     layout '/gpl.xsl'
     layout '/default.xsl'
     filter :relativize_paths, type: :xml
+    filter :xhtml_compat
     filter :remove_wj
     write to_xhtml
 end
@@ -65,6 +66,7 @@ compile '/**/*.md' do
     layout '/default.xml'
     layout '/default.xsl'
     filter :relativize_paths, type: :xml
+    filter :xhtml_compat
     filter :remove_wj
     write to_xhtml
 end
@@ -75,6 +77,7 @@ compile '/license/cc*.sgml' do
     layout '/default.xml'
     layout '/default.xsl'
     filter :relativize_paths, type: :xml
+    filter :xhtml_compat
     filter :remove_wj
     write to_xhtml
 end
@@ -84,6 +87,7 @@ compile '/license/cc*.xhtml' do
     layout '/default.xml'
     layout '/default.xsl'
     filter :relativize_paths, type: :xml
+    filter :xhtml_compat
     filter :remove_wj
     write to_xhtml
 end