about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xvienna4
1 files changed, 1 insertions, 3 deletions
diff --git a/vienna b/vienna index 7c8f722..522f69e 100755 --- a/vienna +++ b/vienna
@@ -192,9 +192,7 @@ phtml() { # phtml < INPUT
192 # first line (an implementation detail). 192 # first line (an implementation detail).
193 sed -E \ 193 sed -E \
194 '/./{H;1h;$!d;}; x; 194 '/./{H;1h;$!d;}; x;
195 s#^[ \n\t]\+##; 195 s#^[ \n\t]+[^<].*#&#;
196 t ok; :ok;
197 s#^[^<].*#&#;
198 t par; b; 196 t par; b;
199 :par; 197 :par;
200 s#([^\\])&#\1\&amp;#g; s#\\&#\&#g; 198 s#([^\\])&#\1\&amp;#g; s#\\&#\&#g;