[gnome3-web] do not let xml2po autoclose tags



commit bb29742efa75c86ecdb2ef9df7d0ffdd478f69ec
Author: Frédéric Péters <fpeters 0d be>
Date:   Wed Mar 30 17:08:38 2011 +0530

    do not let xml2po autoclose tags

 po/build.sh |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/po/build.sh b/po/build.sh
index efc5b83..f76cf2a 100755
--- a/po/build.sh
+++ b/po/build.sh
@@ -17,6 +17,8 @@ do
       xml2po -p $POFILE -m xhtml -o $HTMLFILE.$LANG $HTMLFILE
       grep -q '<script' $HTMLFILE.$LANG && \
         sed -i -e 's/\(<script.*\)/\1<\/script>/' $HTMLFILE.$LANG
+      grep -q '<iframe' $HTMLFILE.$LANG && \
+        sed -i -e 's/\(<iframe.*\)/\1<\/iframe>/' $HTMLFILE.$LANG
     done
 done
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]