trans-coord-devel
[Top][All Lists]
Advanced

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

trans-coord/gnun/server/gnun ChangeLog GNUmakefile


From: Yavor Doganov
Subject: trans-coord/gnun/server/gnun ChangeLog GNUmakefile
Date: Thu, 26 Jan 2012 15:05:03 +0000

CVSROOT:        /sources/trans-coord
Module name:    trans-coord
Changes by:     Yavor Doganov <yavor>   12/01/26 15:05:03

Modified files:
        gnun/server/gnun: ChangeLog GNUmakefile 

Log message:
        (extract-title): Adjust regexp to `<h2' (as opposed to `<h2>') as some
        elements include attributes.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/server/gnun/ChangeLog?cvsroot=trans-coord&r1=1.222&r2=1.223
http://cvs.savannah.gnu.org/viewcvs/trans-coord/gnun/server/gnun/GNUmakefile?cvsroot=trans-coord&r1=1.106&r2=1.107

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/trans-coord/trans-coord/gnun/server/gnun/ChangeLog,v
retrieving revision 1.222
retrieving revision 1.223
diff -u -b -r1.222 -r1.223
--- ChangeLog   26 Jan 2012 14:46:45 -0000      1.222
+++ ChangeLog   26 Jan 2012 15:05:03 -0000      1.223
@@ -2,6 +2,8 @@
 
        * GNUmakefile (extract-title): Strip trailing newline, as it
        messes with the encoding of the Subject header.
+       Adjust regexp to `<h2' (as opposed to `<h2>') as some elements
+       include attributes.
 
 2012-01-22  Pavel Kharitonov  <address@hidden>
 

Index: GNUmakefile
===================================================================
RCS file: /sources/trans-coord/trans-coord/gnun/server/gnun/GNUmakefile,v
retrieving revision 1.106
retrieving revision 1.107
diff -u -b -r1.106 -r1.107
--- GNUmakefile 26 Jan 2012 14:46:45 -0000      1.106
+++ GNUmakefile 26 Jan 2012 15:05:03 -0000      1.107
@@ -465,7 +465,7 @@
 # (sysadmin RT #600797).  Used only in article-rules, and only if
 # ANNOUNCE=yes.
 define extract-title
-echo -n $($(GREP) --max-count=1 '<h2>' $$@) | $(SED) 's/<h2>\(.*\)<\/h2>/\1/' \
+echo -n $($(GREP) --max-count=1 '<h2' $$@) | $(SED) 's/<h2>\(.*\)<\/h2>/\1/' \
   | $(SED) 's/\&mdash;/--/g' | $(SED) 's/\&..quo;/"/g' | base64 --wrap=0
 endef
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]