Kaydet (Commit) 5ec3c087 authored tarafından Enrico Tröger's avatar Enrico Tröger

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
üst 65633626
......@@ -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]*\\(",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment