This commit is contained in:
2022-03-21 00:41:08 +08:00
parent 63e2f49588
commit 3302c82f16

View File

@ -61,11 +61,11 @@ cat \
perl -pe 's/TITLE/$ENV{title}/; s/CURRENTINT/$ENV{padint}/' perl -pe 's/TITLE/$ENV{title}/; s/CURRENTINT/$ENV{padint}/'
) \ ) \
<( <(
printf '<![CDATA['"$( printf '<![CDATA['"$( \
cat content-$padint quote-$padint | cat content-$padint quote-$padint |
tidy -q -ashtml | tidy -q -ashtml |
sed '2 s/xmlns=".*"//g' | sed '2 s/xmlns=".*"//g' |
xmllint --noblanks --xpath '//body' - xmllint --noblanks --xpath '//body' - \
)"']]' )"']]'
) \ ) \
<( <(