Fix parsing when heading tags contain attributes (part of #1896068).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2550 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
parent
6563362688
commit
5ec3c087f3
@ -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>
|
||||
|
@ -42,15 +42,15 @@ static void installHtmlRegex (const langType language)
|
||||
"\\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]*\\(",
|
||||
|
Loading…
x
Reference in New Issue
Block a user