------------------------------------------------------------ revno: 7979 committer: Lars Helge Ă˜verland <[email protected]> branch nick: dhis2 timestamp: Wed 2012-08-29 10:49:10 +0200 message: Updated clean cde script modified: resources/util/clean_cde.sh
-- lp:dhis2 https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk Your team DHIS 2 developers is subscribed to branch lp:dhis2. To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'resources/util/clean_cde.sh' --- resources/util/clean_cde.sh 2012-08-20 12:02:38 +0000 +++ resources/util/clean_cde.sh 2012-08-29 08:49:10 +0000 @@ -33,13 +33,19 @@ sed -i 's/<small[^>]*>//g' $1 sed -i 's/<\/small>//g' $1 +# Remove font open/end tags + +sed -i 's/<font[^>]*>//g' $1 +sed -i 's/<\/font>//g' $1 + # Remove all style, width, nowrap, valign, view attributes sed -i 's/style="[^"]*"//g' $1 sed -i 's/width="[^"]*"//g' $1 sed -i 's/nowrap="[^"]*"//g' $1 sed -i 's/valign="[^"]*"//g' $1 -sed -i 's/view="[^"]*"//g' $1 +sed -i 's/view="[^"]*"//g' $11 +sed -i 's/bgcolor="[^"]*"//g' $1 # Remove weird stuff
_______________________________________________ Mailing list: https://launchpad.net/~dhis2-devs Post to : [email protected] Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp

