[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gsrc-commit] trunk r5926: update tidy to 20091223cvs.orig
From: |
Carl Hansen |
Subject: |
[Gsrc-commit] trunk r5926: update tidy to 20091223cvs.orig |
Date: |
Thu, 13 Sep 2018 00:01:25 -0400 (EDT) |
User-agent: |
Bazaar (2.7.0dev1) |
------------------------------------------------------------
revno: 5926
revision-id: address@hidden
parent: address@hidden
committer: address@hidden
branch nick: trunk
timestamp: Wed 2018-09-12 21:01:21 -0700
message:
update tidy to 20091223cvs.orig
modified:
pkg/other/tidy/Makefile makefile-20180911083056-fgrhc3no51vepppr-3
=== modified file 'pkg/other/tidy/Makefile'
--- a/pkg/other/tidy/Makefile 2018-09-11 08:31:12 +0000
+++ b/pkg/other/tidy/Makefile 2018-09-13 04:01:21 +0000
@@ -43,3 +43,23 @@
include ../../../gar/gar.lib/auto.mk
include config.mk
+# I didn't like the output but it is easy to pipe to sed to improve it.
+# suggested improvements:
+#
+# .tidyrc is just:
+# break-before-br: yes
+#
+#
+# #!/bin/sh
+# # /usr/bin/tidy -config ~/.tidyrc $@ | \
+ # sed -e "s/\n\?<p>/\n<p>/g" | \
+ # sed -e "s/\n\?<blockquote>/\n<blockquote>/g" | \
+ # sed -e "s/\n\?<li>/\n<li>/g" | \
+ # sed -e "s/\n\?<h1>/\n<h1>/g" | \
+ # sed -e "s/\n\?<h2>/\n<h2>/g" | \
+ # sed -e "s/\n\?<h3>/\n<h3>/g" | \
+ # sed -e "s/\n\?<h4>/\n<h4>/g" | \
+ # sed -e "s/ \?<!--/ <!--/g" | \
+ # sed -e "s/--> \?/--> /g"
+#
+#
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gsrc-commit] trunk r5926: update tidy to 20091223cvs.orig,
Carl Hansen <=