You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sed ':a;$!{N;ba;};s/@/@a/g;s/\n/@n/g;s/<pre/\n&/g;s/<\/pre>/&\n/g' test.html \
| sed -r '/(^<pre|<\/pre>$)/!{s/@n//g;s/>\s+</></g;}' \
| sed ':a;$!{N;ba;};s/\n//g;s/@n/\n/g;s/@a/@/g' >min.html
To do
Fix the
sed
command at the bottom of.app/minify.sh
, so that it excludes the contents of<pre>
tags when minifying the HTML.See here: https://unix.stackexchange.com/questions/519788/how-do-i-exclude-pre-tags-from-html-minification-using-sed
The text was updated successfully, but these errors were encountered: