SF.net SVN: geany: [2550] trunk

eht16 at users.sourceforge.net eht16 at xxxxx
Sun May 4 17:39:39 UTC 2008


Revision: 2550
          http://geany.svn.sourceforge.net/geany/?rev=2550&view=rev
Author:   eht16
Date:     2008-05-04 10:39:38 -0700 (Sun, 04 May 2008)

Log Message:
-----------
Fix parsing when heading tags contain attributes (part of #1896068).

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/tagmanager/html.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2008-05-04 16:58:20 UTC (rev 2549)
+++ trunk/ChangeLog	2008-05-04 17:39:38 UTC (rev 2550)
@@ -5,6 +5,8 @@
    not be saved.
  * THANKS, src/about.c:
    Update email address of Dormouse Young.
+ * tagmanager/html.c:
+   Fix parsing when heading tags contain attributes (part of #1896068).
 
 
 2008-04-27  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>

Modified: trunk/tagmanager/html.c
===================================================================
--- trunk/tagmanager/html.c	2008-05-04 16:58:20 UTC (rev 2549)
+++ trunk/tagmanager/html.c	2008-05-04 17:39:38 UTC (rev 2550)
@@ -42,15 +42,15 @@
 		"\\2", "m,member,named anchors", "i");
 
 	addTagRegex (language,
-		"<h1>" INNER_HEADING "</h1>",
+		"<h1.*>" INNER_HEADING "</h1>",
 		"\\1", "n,namespace,H1 heading", "i");
 
 	addTagRegex (language,
-		"<h2>" INNER_HEADING "</h2>",
+		"<h2.*>" INNER_HEADING "</h2>",
 		"\\1", "c,class,H2 heading", "i");
 
 	addTagRegex (language,
-		"<h3>" INNER_HEADING "</h3>",
+		"<h3.*>" INNER_HEADING "</h3>",
 		"\\1", "v,variable,H3 heading", "i");
 
 	addTagRegex (language, "^[ \t]*function[ \t]*([A-Za-z0-9_]+)[ \t]*\\(",


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Commits mailing list