← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 7940: Minor update to clean cde script

 

------------------------------------------------------------
revno: 7940
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2012-08-20 14:02:38 +0200
message:
  Minor update to 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-02-17 15:59:00 +0000
+++ resources/util/clean_cde.sh	2012-08-20 12:02:38 +0000
@@ -28,6 +28,11 @@
 sed -i 's/<strong[^>]*>//g' $1
 sed -i 's/<\/strong>//g' $1
 
+# Remove small open/end tags
+
+sed -i 's/<small[^>]*>//g' $1
+sed -i 's/<\/small>//g' $1
+
 # Remove all style, width, nowrap, valign, view attributes
 
 sed -i 's/style="[^"]*"//g' $1